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 > AnnTextObject 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 AnnTextObject
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

AffectsRender

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

Dependencies Property Information 

Identifier field

TextBrushProperty

Metadata properties set to true

AffectsRender

Return Value

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

Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnTextObject.

Remarks

For more information, refer to Using Text in WPF Annotation Objects.

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.