DefaultFont Property

DefaultFont returns the default font properties object for this document. Returns a FontFormat object. This is a read-only property.

Syntax

object.DefaultFont

Example 1

This example demonstrates how to return the default face of a plot document.

Debug.Print Plot.DefaultFont.Face

Example 2

This example demonstrates how to set the default font color of a plot document to blue.

Plot.DefaultFont.ForeColorRGBA.Color = srfColorBlue

Example 3

This script displays all the methods and properties in the PlotDocument object.

Used by: PlotDocument object