Category property

Microsoft Visio Developer Reference

Category property

   Example   

Gets or sets the value of a document's category—one of the document properties.

Version added

5.0

Syntax

strRet = object.Category
object.Category = stringExpression

strRet

String. The current value of the field.

object

Required. An expression that returns a Document object.

stringExpression

Required String. The new value of the field.

Remarks

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