DefaultFont Property
The DefaultFont property returns the default font properties in the document. Returns an AutoMFont object. This is a read-only property.
Syntax
object.DefaultFont
object.DefaultFont =DefaultFont
Remarks
The default settings are applied to all instances of Grapher and persist to future instances.
Example 1
This example demonstrates how to set the default font to a size of 20 points.
Plot.DefaultFont.size = 20
Example 2
This example demonstrates how to return the default font face.
Debug.Print Plot.DefaultFont.face
Used by: Document object