id Property

Summary

Gets or sets the id of this AnnAutomationObject.

Syntax

JavaScript Syntax
Object.defineProperty(AnnAutomationObject.prototype, 'id', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly