Document.DefaultStyle Property
Visio Automation Reference |
Gets the default fill style of a document or sets the default fill, line, and text styles of a document. Read/write.
Version Information
Version Added: Visio 4.0
Syntax
expression.DefaultStyle
expression A variable that represents a Document object.
Return Value
String
Remarks
A document's DefaultStyle property returns the same value as its DefaultFillStyle property. Setting the DefaultStyle property is equivalent to setting the DefaultFillStyle, DefaultLineStyle, and DefaultTextStyle properties individually to the same multiple-attribute style. The fill, line, and text attributes of the document's default style are applied to new shapes created with the Microsoft Office Visio drawing tools or with the Draw methods by Automation.
See Also