Specifies whether the field should render string enclosed in curly brackets as RTF.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
[DefaultValueAttribute(false)]
public bool RTF { get; set; }
Visual Basic
<DefaultValueAttribute(False)> _
Public Property RTF As Boolean
	Get
	Set

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.

The default value for this property is False.

Examples

The following code creates a field with bold and italic characters:

Copy CodeVisual Basic
myField.RTF = True
myField.Text = "{This is \b Really \b0\i Really \i0 important}"
Copy CodeC#
myField.RTF = true;
myField.Text = "{This is \b Really \b0\i Really \i0 important}";

See Also