Udostępnij za pośrednictwem


FontDescriptor.FontSize Property

Definition

Gets the em height of the Font object measured in the units of the Font object. This is the value used to create the font. Use FontHeight instead if you want to get the height of a line of text using this font (i.e., the line spacing).

public:
 property float FontSize { float get(); };
public float FontSize { get; }
member this.FontSize : single
Public ReadOnly Property FontSize As Single

Property Value

Returns the em height of the Font object measured in the units of the Font object.

Applies to