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





Gets or sets a value that indicates the font family of the typeface. This is a dependency property.

Syntax

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

Dependencies Property Information 

Identifier field

FontFamilyProperty

Metadata properties set to true

AffectsRender

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

Dependencies Property Information 

Identifier field

FontFamilyProperty

Metadata properties set to true

AffectsRender

Return Value

A FontFamily value that specifies the font family of the typeface.

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

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