RowExists property

Microsoft Visio Developer Reference

RowExists property

   Example   

Determines whether a ShapeSheet row exists.

Version added

4.0

Syntax

intRet = object.RowExists(section, row, fExistsLocally)

intRet

Integer. False (0) if row doesn't exist; otherwise, True (-1).

object

Required. An expression that returns a Shape object.

section

Required Integer. The row's section index.

row

Required Integer. The row's row index.

fExistsLocally

Required Integer. The scope of the search.

Remarks

If fExistsLocally is False (0), the RowExists property returns True if the object either contains or inherits the specified row.

If fExistsLocally is True (non-zero), the RowExists property returns True only if the object contains the specified row locally; if the row is inherited, the RowExists property returns False.

For a list of row index values, see the AddRow method or view the Visio type library for the members of class visRowIndices. For a list of section index values, see the AddSection method or view the Visio type library for the members of class visSectionIndices.