Document.DefaultLineStyle Property

Visio Automation Reference

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

Version Information
 Version Added:  Visio 4.0

Syntax

expression.DefaultLineStyle

expression   A variable that represents a Document object.

Return Value
String

Remarks

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

See Also