Table of contents
TOC
Collapse the table of content
Expand the table of content

Document.DefaultStyle Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

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

© 2017 Microsoft