LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

Foreground Property (AnnTextObject)

Show in webframe





Gets or sets a value that indicates which brush to use to paint the each glyph. This is a dependency property.
Syntax
public Color Foreground {get; set;}
'Declaration
 
Public Property Foreground As Color
'Usage
 
Dim instance As AnnTextObject
Dim value As Color
 
instance.Foreground = value
 
value = instance.Foreground

            

            
public:
property Color Foreground {
   Color get();
   void set (    Color value);
}

Property Value

A System.Windows.Media.Brush value that specifies which brush to use to paint the each glyph.
Remarks
For more information, refer to Using Text in WPF Annotation Objects.
Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnTextObject.

Requirements

Target Platforms

See Also

Reference

AnnTextObject Class
AnnTextObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.