Expand Minimize
This topic has not yet been rated - Rate this topic

Document.DefaultStyle Property (Visio)

Published: July 16, 2012

Gets the default fill style of a document or sets the default fill, line, and text styles of a document. Read/write.

Version Added: Visio 4.0

expression .DefaultStyle

expression A variable that represents a Document object.

Return Value

String

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 Visio drawing tools or with the Draw methods by Automation.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.