Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Text Property
See Also 
Leadtools.Annotations Namespace > AnnGroupObject Class : Text Property




Gets or sets the text string associated with this AnnGroupObject object.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Text As String
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim value As String
 
instance.Text = value
 
value = instance.Text
C# 
public virtual string Text {get; set;}
Managed Extensions for C++ 
public: __property virtual string* get_Text();
public: __property virtual void set_Text( 
   string* value
);
C++/CLI 
public:
virtual property String^ Text {
   String^ get();
   void set (String^ value);
}

Return Value

The text string associated with this AnnGroupObject object

Remarks

When "getting" this property, internally this AnnGroupObject will enumerate all objects in the group and return the text of the first object in the group that implements the IAnnTextObject interface. For more information refer to Text.

When "setting" this property, internally this AnnGroupObject will enumerate all objects in the group and set the text for each object that implements the IAnnTextObject interface. For more information refer to Text.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features