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



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

Syntax

Visual Basic (Declaration) 
Overrides Public Property TextColor As Color
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim value As Color
 
instance.TextColor = value
 
value = instance.TextColor
C# 
public override Color TextColor {get; set;}
C++/CLI 
public:
property Color TextColor override {
   Color get();
   void set (Color value);
}

Return Value

The text color associated with this AnnGroupObject object.

Remarks

When "getting" this property, internally this AnnGroupObject object will enumerate all objects in the group and return the text color of the first object that has its SupportsFont value set to true. For more information, refer to AnnDrawable.TextColor.

When "setting" this property, internally this AnnGroupObject will enumerate all objects in the group and set the AnnDrawable.TextColor value for each object that has its SupportsFont value set to true. For more information, refer to AnnDrawable.TextColor.

Requirements

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

See Also

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