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
'宣言
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.