←Select platform

Rtf Property

Summary

Gets or sets the text of the AnnRichTextObject object, including all rich text format (RTF) codes.

Syntax

C#
VB
C++
public virtual string Rtf { get; set; } 
  
Public Overridable Property Rtf As String 
public: 
virtual property String^ Rtf { 
   String^ get(); 
   void set (    String^ ); 
} 

Property Value

The text of the control in RTF format. Default value is null reference (Nothing in VB) for no text.

Remarks

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 https://msdn.microsoft.com/library

For more information, refer to Using Text in Annotation Object (Deprecated).

For more information about the rich text annotation object refer to AnnRichTextObject (Deprecated).

For more information about the automated rich text annotation object, refer to Annotation Objects - Automated Features (Deprecated).

Example

For an example, refer to AnnRichTextObject.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly