u

  • Thread starter Thread starter vijaiyanb
  • Start date Start date
V

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 "
 
Hey u,
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 "

That's RTF or Rich Text Format. The string is a fragment of RTF and
specifies basic settings like language, font and so forth.

Search MSDN for RTF reference information. Or, download the RTF 1.7
specifications from Wotsit (www.wotsit.org) here:

http://www.wotsit.org/download.asp?f=rtf17

PS. Not to sound like a newsgroup police, but a more descriptive subject
line than just a "u" would really help...

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
Looks like rick text format (RTF - used for older Word docs), which was
explained in another group. Are you looking for someone to break down all of
the RTF tags for you and explain what it will print out?

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

*************************************************
Think Outside the Box!
*************************************************
 
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 cant reflect on report

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

wat can i do
 
Back
Top