DefaultFill Property

The DefaultFill property returns the default fill properties in the document. Returns an AutoFill object. This is a read-only property.

Syntax

object.DefaultFill

object.DefaultFill =DefaultFill

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 fill pattern property to the Granite pattern.

Plot.DefaultFill.PatternName=Granite

Example 2

This example demonstrates how to return the default fill type.

Debug.Print Plot.DefaultFill.Fill.Forecolor

 

Used by: Document object