|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
uncleared codeplease explain the following code
Dim rt As String = "{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}\viewkind4\uc1\pard\qr\f0\fs20 " 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 " > 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)). -- Show quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com/ ************************************************* Think Outside the Box! ************************************************* <vijaiy***@gmail.com> wrote in message 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 " > 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 |
|||||||||||||||||||||||