Diagram.BaseFontFromEnvironment Property
Gets the font to use as the base font.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Protected Overridable ReadOnly Property BaseFontFromEnvironment As Font
'Usage
Dim value As Font
value = Me.BaseFontFromEnvironment
protected virtual Font BaseFontFromEnvironment { get; }
protected:
virtual property Font^ BaseFontFromEnvironment {
Font^ get ();
}
protected 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.