Home All Groups Group Topic Archive Search About
Author
8 Oct 2006 1:07 PM
vijaiyanb
please explain the following code

        Dim rt As String =
"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}}\viewkind4\uc1\pard\qr\f0\fs20 "

Author
8 Oct 2006 3:46 PM
Cor Ligthert [MVP]
Vijaivanb,

You have got excelent answers in two other newsgroups.

Cor

<vijaiy***@gmail.com> schreef in bericht
Show quote
news:1160312831.990437.110220@b28g2000cwb.googlegroups.com...
> please explain the following code
>
>        Dim rt As String =
> "{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
> Arial;}}\viewkind4\uc1\pard\qr\f0\fs20 "
>
Author
8 Oct 2006 5:28 PM
Cowboy (Gregory A. Beamer)
Are you going to ask the same question in every single .NET group? The
string has a tag at the beginning that shows it is rich text format (RTF -
for Word docs). It is using ANSI codepage for the US (as indicated by the
code page 1252). I am not proficient enough in RTF to tell the rest,
although I can break some of it down (Arial for font, set in upper case
(9uc1)).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com/

*************************************************
Think Outside the Box!
*************************************************
<vijaiy***@gmail.com> wrote in message
Show quote
news:1160312831.990437.110220@b28g2000cwb.googlegroups.com...
> please explain the following code
>
>        Dim rt As String =
> "{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
> Arial;}}\viewkind4\uc1\pard\qr\f0\fs20 "
>
Author
9 Oct 2006 1:34 AM
vij
please explain the following code

        Dim rt As String =
"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}}\viewkind4\uc1\pard\qr\f0\fs20 "

when i change the font name int this line its reflected in crystal
report
but i cant change the font directly in creport. ie i can change it by
right click the field and format but i cat reflect on report

if i change in this line than only the font changed in report

wat can i do

AddThis Social Bookmark Button