ID Property

Read-only. A Long type property, that indicates the ID of an object from the Applies to list. The ID of an object is a unique integer number, associated with the object when it's created. The ID is unique only within the scope of the collection to which it belongs. For instance, the ID of a shape is unique within the scope of the page collection of the document, however, a page with the same ID may exist in another document. The same applies to layers, etc.

Applies to: Hyperlink object, Layer object, Page object, ServObj object, Shape object, Window object

Syntax

[[Let] idRet = ] object.ID

The ID property syntax has these parts:

Part Description
object Required. An expression that returns an instance of an object in the Applies to list.
idRet Optional. A Long type variable.

Remarks

For a Window object the ID property identifies the window. In particular, in the Windows version of ConceptDraw, ID is a HWND (handle to a window) of the corresponding window.

 

See Also

SubID property