![]() |
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnFont Class : FontSize Property |
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');
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.