VSView Reporting Edition Reference > Field Object > Field Properties > RTF Property |
Returns or sets whether the field should render string enclosed in curly brackets as RTF.
field.RTF[ = {True | False} ]
If you set this property to True, any fields containing text enclosed in curly brackets will be rendered as RTF. This allows you to add complex formatting within a field. For example, the following code creates a field with some bold and italic characters:
myField.RTF = True
myField.Text = "{This is \b Really \b0\i Really \i0 important}"
NOTE: Fields containing RTF text are not exported to HTML files. They are exported to RTF files.