Share via


DefaultFillStyle Property [Visio 2003 SDK Documentation]

Gets or sets the default fill style of a document.

strRet = object**.DefaultFillStyle**

object**.DefaultFillStyle** = stringExpression

strRet     String. The default fill style of the document.

object     Required. An expression that returns a Document object.

stringExpression     Required String. The name of the default fill style to assign to the document.

Version added

4.0

Remarks

The DefaultFillStyle property corresponds to the value shown in the Fill Style box on the Format Shape toolbar when nothing is selected on the drawing page. The document's default fill style is applied to new shapes created with the Microsoft Office Visio drawing tools or with the Draw methods by Automation.

Applies to | Document object

See Also | DefaultLineStyle property | DefaultStyle property | DefaultTextStyle property