Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomationObject Class : Id Property |
public virtual int Id {get; set;}
'Declaration
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');
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.
For an example, refer to FindObjectById.