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





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

Syntax

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

<object FontWeight=

Dependencies Property Information 

Identifier field

FontWeightProperty

Metadata properties set to true

AffectsRender

XAML Attributes Usage 

<object FontWeight=

Dependencies Property Information 

Identifier field

FontWeightProperty

Metadata properties set to true

AffectsRender

Return Value

A FontWeight value that specifies the relative weight 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

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