←Select platform

Id Property

Summary

Gets or sets the id of this AnnAutomationObject.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public virtual int Id { get; set; } 
Public Overridable Property Id As Integer 
public virtual int Id {get; set;} 
@property (nonatomic) int iD; 
public int getId() 
public void setId(int id) 
             
 <br/>get_Id();<br/>set_Id(value);<br/>Object.defineProperty('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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly