←Select platform

Id Property

Summary
Gets or sets the id of this AnnAutomationObject.
Syntax
C#
VB
Objective-C
C++
Java
public virtual int Id { get; set; } 
Public Overridable Property Id As Integer 
@property (nonatomic) int iD; 
public int getId() 
public void setId(int id) 
public:  
   virtual property Int32 Id 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

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 FindObjectById.

Requirements

Target Platforms

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

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.