DefaultStyle property
Gets the default fill style of a document or sets the default fill, line, and text styles of a document.
Version added
4.0
Syntax
| |
| |
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 style to assign to the document. |
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 Visio drawing tools or with the Draw methods via Automation.