Diagram.BaseFontFromEnvironment Property

Gets the font to use as the base font.

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

Syntax

声明
Protected Overridable ReadOnly Property BaseFontFromEnvironment As Font
    Get
protected virtual Font BaseFontFromEnvironment { get; }
protected:
virtual property Font^ BaseFontFromEnvironment {
    Font^ get ();
}
abstract BaseFontFromEnvironment : Font
override BaseFontFromEnvironment : Font
function get BaseFontFromEnvironment () : Font

Property Value

Type: System.Drawing.Font
The font to use as the base font.

Remarks

By default, the base font is IconTitleFont.

This property determines whether a diagram should be opened or created when the zoom factor is larger than 100%.

The base font can be larger or smaller than the environment font.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace