Leadtools.Windows.Annotations Namespace > AnnRichTextObject Class : Rtf Property |
public string Rtf {get; set;}
'Declaration Public Property Rtf As String
'Usage Dim instance As AnnRichTextObject Dim value As String instance.Rtf = value value = instance.Rtf
public string Rtf {get; set;}
get_Rtf();
set_Rtf(value);
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 http://msdn.microsoft.com/en-us/library/aa140277(v=office.10).aspx.
For more information, refer to Using Text in WPF Annotation Objects.
For more information about the rich text annotation object refer to AnnRichTextObject for WPF.
For more information about the automated rich text annotation object, refer to WPF Annotation Objects - Automated Features.
For XAML example, refer to AnnGroupObject.
For C#/VB examples, refer to AnnRichTextObject.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2