id Property

Summary

Gets or sets the id of this AnnAutomationObject.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnAutomationObject.prototype, 'id', 
	get: function(), 
	set: function(value) 
) 
id: number; 

Property Value

The id of this AnnAutomationObject. The default value is 0.

Remarks

Each automation object must have an object id that is a unique integer value. The AnnAutomationManager class defines the object ids for the default annotation objects such as EllipseObjectId and RectangleObjectId. For user-defined objects, use UserObjectId first then add 1 to this value for each new user object.

Example

For an example, refer to AnnAutomationManager.

Requirements
Target Platforms
Help Version 21.0.2021.3.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly