Visual Basic (Declaration) | |
---|---|
Public Overridable Property Rtf As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As AnnRichTextObject Dim value As String instance.Rtf = value value = instance.Rtf |
C# | |
---|---|
public virtual string Rtf {get; set;} |
Property Value
The text of the control in RTF format. Default value is null reference (Nothing in Visual Basic) for no text.You can use this property to place RTF formatted text into the object or to extract the text of the control with the specified RTF formatting defined in the text of the object. This property is typically used when you are assigning RTF text from another RTF source, such as Microsoft Word or Windows WordPad, to the object.
For the RTF codes, see "rich text format (RTF) Specification, version 1.6" in the MSDN library at .
For more information, refer to Using Text in Annotation Object.
For more information about the rich text annotation object refer to AnnRichTextObject.
For more information about the automated rich text annotation object, refer to Annotation Objects - Automated Features.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7