Compartilhar via


Diagram.BaseFontFromEnvironment Property

Definition

Gets the font from the environment that should be used to determine the BaseFont.
The default behavior is to return ths systems IconTitleFont.
This property is also used by the auto-zoom feature to determine if a diagram should be opened or created at an initial zoom factor higher than 100%.
The resultant BaseFont may be a different size from this environment font.
This property should be overridden to get a font other than the systems IconTitleFont.

protected:
 virtual property System::Drawing::Font ^ BaseFontFromEnvironment { System::Drawing::Font ^ get(); };
protected virtual System.Drawing.Font BaseFontFromEnvironment { get; }
member this.BaseFontFromEnvironment : System.Drawing.Font
Protected Overridable ReadOnly Property BaseFontFromEnvironment As Font

Property Value

The font from the environment that should be used to determine the BaseFont.

Applies to