VisShapeIDs Constants

Visio Automation Reference

Values related to the IDs of shapes.

Constant Value Description

visInvalShapeID

-1

An ID no shape will ever have; used for comparison against valid ID values that are returned by the Shape.ID and Shapes.ItemFromID properties.

visPageSheetID

0

The ID of a page's or master's page sheet; the value of the Shape.ID property when the shape is a page sheet.