Diagram.BaseFontFromEnvironment Property

Gets the font to use as the base font.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property BaseFontFromEnvironment As Font
protected virtual Font BaseFontFromEnvironment { get; }
protected:
virtual property Font^ BaseFontFromEnvironment {
    Font^ get ();
}
abstract BaseFontFromEnvironment : Font with get 
override BaseFontFromEnvironment : Font with get
function get BaseFontFromEnvironment () : Font

Property Value

Type: 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