Title property

Microsoft Visio Developer Reference

Title property

       

Gets or sets the value of the Title field in a document's properties.

Version added

2.0

Syntax

strRet = object.Title
object.Title = stringExpression

strRet

String. The current value of the field.

object

Required. An expression that returns a Document object.

stringExpression

Required String. The new value for the field.

Remarks

Setting the Title property is equivalent to entering information in the Title box in the Properties dialog box (click Properties on the File menu).