Freigeben über


FontDescriptor.FontSize Property

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).

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public ReadOnly Property FontSize As Single
    Get
public float FontSize { get; }
public:
property float FontSize {
    float get ();
}
member FontSize : float32
function get FontSize () : float

Property Value

Type: System.Single

.NET Framework Security

See Also

Reference

FontDescriptor Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace