LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

Foreground Property (AnnTextObject)






Gets or sets a value that indicates which brush to use to paint the each glyph. This is a dependency property. .NET support Silverlight support
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 Color Foreground {get; set;}
 get_Foreground();
set_Foreground(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnTextObject Class
AnnTextObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.