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





Gets or sets the text string associated with this AnnGroupObject object. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public 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 string Text {get; set;}
C++/CLI 
public:
property String^ Text {
   String^ get();
   void set (String^ value);
}
XAML Attributes Usage 

<object Text=string .../>

Dependencies Property Information 

Identifier field

TextProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

<object Text=string .../>

Dependencies Property Information 

Identifier field

TextProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

The text string associated with this AnnGroupObject object

Example

For XAML example, refer to AnnGroupObject.

Remarks

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

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

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

Text requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.