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
'Declaration
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
- 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.