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





Gets or sets a value that indicates the font size the text should be formatted at. This is a dependency property.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("System.Windows.FontSizeConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>
Public Property FontSize As Double
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
Dim value As Double
 
instance.FontSize = value
 
value = instance.FontSize
C# 
[TypeConverterAttribute("System.Windows.FontSizeConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public double FontSize {get; set;}
C++/CLI 
[TypeConverterAttribute("System.Windows.FontSizeConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public:
property double FontSize {
   double get();
   void set (double value);
}
XAML Attributes Usage 

<object FontSize=double .../>

Dependencies Property Information 

Identifier field

FontSizeProperty

Metadata properties set to true

AffectsRender

XAML Attributes Usage 

<object FontSize=double .../>

Dependencies Property Information 

Identifier field

FontSizeProperty

Metadata properties set to true

AffectsRender

Return Value

A double value that specifies font size the text should be formatted at.

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

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