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





Gets or sets a value that indicates the TextDecorationCollection to apply to the text. This is a dependency property.

Syntax

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

<object FontDecorations=System.Windows.TextDecorationCollection .../>

Dependencies Property Information 

Identifier field

FontDecorationsProperty

Metadata properties set to true

AffectsRender

XAML Property Element Usage 

<object> <object.FontDecorations> <TextDecorationCollection .../> </object.FontDecorations> </object>

XAML Attributes Usage 

<object FontDecorations=System.Windows.TextDecorationCollection .../>

Dependencies Property Information 

Identifier field

FontDecorationsProperty

Metadata properties set to true

AffectsRender

XAML Property Element Usage 

<object> <object.FontDecorations> <TextDecorationCollection .../> </object.FontDecorations> </object>

Return Value

A TextDecorationCollection collection that contains text decorations to apply to the text.

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

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