Document.DefaultTextStyle Property

Visio Automation Reference

Gets or sets the default text style of a document. Read/write.

Version Information
 Version Added:  Visio 4.0

Syntax

expression.DefaultTextStyle

expression   A variable that represents a Document object.

Return Value
String

Remarks

The DefaultTextStyle property corresponds to the value shown in the Text Style box on the Format Text toolbar when nothing is selected on the drawing page. The document's default text style is applied to new shapes created with the Microsoft Office Visio drawing tools or with the Draw methods by Automation.

See Also