Szerkesztés

Megosztás a következőn keresztül:


Document.DefaultStyle property (Visio)

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.