This documentation is archived and is not being maintained.

DefaultLineStyle property

DefaultLineStyle property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

https://msdn.microsoft.com/en-us/library/aa190185(v=office.10) See also         Example         https://msdn.microsoft.com/en-us/library/aa190184(v=office.10) Applies to

Gets or sets the default line style of a document.

Version added

4.0

Syntax

strRet = object.DefaultLineStyle
object.DefaultLineStyle = stringExpression

strRet

String. The default line style of the document.

object

Required. An expression that returns a Document object.

stringExpression

Required String. The name of the default line style to assign to the document.

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

Show: