Error processing SSI file
(Leadtools.Annotations.Core)

Show in webframe

FontSize Property






Gets or sets the point size of the new font for this AnnFont object.
Syntax
public double FontSize {get; set;}
'Declaration
 
Public Property FontSize As Double
public double FontSize {get; set;}
@property (nonatomic) double fontSize;
public double getFontSize()
public void setFontSize(double fontSize)
            
 
get_FontSize();
set_FontSize(value);
Object.defineProperty('FontSize');

Property Value

The point size of the new font for this AnnFont object.
Remarks
The point size is standard, which is defined as 1/72 of an inch.

When something is drawn, it depends on the value of AnnFixedStateOperations. For example, when labels are drawing with setting a font size to 14pt, the value of AnnFixedStateOperations.FontSize needs to be set. So the user don't care what the zoom is, always draw this label text with setting a font size to 14pt.

For other objects, the default state is not AnnFixedStateOperations.FontSize, so when an annotation text object is drawn and the font size is set to 14pt, it will be converted to 140/720 of an inch -- because of annotations coordinates are in 1/720 of an inch.

Requirements

Target Platforms

See Also

Reference

AnnFont Class
AnnFont Members

Error processing SSI file
   Leadtools.Annotations.Core requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features