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





Gets or sets a value that indicates which brush to use to paint the each glyph. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property TextBrush As Brush
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim value As Brush
 
instance.TextBrush = value
 
value = instance.TextBrush
C# 
public Brush TextBrush {get; set;}
C++/CLI 
public:
property Brush TextBrush {
   Brush get();
   void set (Brush value);
}
XAML Syntax 
For XAML information, see the System.Windows.Media.Brush type.

Dependencies Property Information 

Identifier field

TextBrushProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Syntax 
For XAML information, see the System.Windows.Media.Brush type.

Dependencies Property Information 

Identifier field

TextBrushProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

A Brush value that specifies which brush to use to paint the each glyph.

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 brush of the first object in the group that implements the IAnnTextObject interface. For more information refer to IAnnTextObject.TextBrush.

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

Requirements

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

See Also

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