ComponentOne VSView Reporting Edition
RTF Property

Returns or sets whether the field should render string enclosed in curly brackets as RTF.

Syntax

field.RTF[ = {True | False} ]

Remarks

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.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback