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





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

Syntax

Visual Basic (Declaration) 
Public Property FontStyle As FontStyle
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
Dim value As FontStyle
 
instance.FontStyle = value
 
value = instance.FontStyle
C# 
public FontStyle FontStyle {get; set;}
C++/CLI 
public:
property FontStyle FontStyle {
   FontStyle get();
   void set (FontStyle value);
}
XAML Attributes Usage 

<object FontStyle=

Dependencies Property Information 

Identifier field

FontStyleProperty

Metadata properties set to true

AffectsRender

XAML Attributes Usage 

<object FontStyle=

Dependencies Property Information 

Identifier field

FontStyleProperty

Metadata properties set to true

AffectsRender

Return Value

A FontStyle value that specifies the style 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

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