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

Document.DefaultTextStyle Property (Visio)

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

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


expression . DefaultTextStyle

expression A variable that represents a Document object.

Return Value



The DefaultTextStyle property corresponds to the value shown in the Style box on the Font tab of the Text dialog box (click the Font arrow on the Home tab) when nothing is selected on the drawing page. The document's default text style is applied to new shapes created with the Microsoft Visio drawing tools or with the Draw methods by Automation.

© 2018 Microsoft