←Select platform

Id Property (AnnAutomationObject)

Summary

Gets or sets the id of this AnnAutomationObject.

Syntax

C#
VB
Java
Objective-C
WinRT 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) 
get_Id(); 
set_Id(value); 
Object.defineProperty('Id'); 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Automation Assembly
Click or drag to resize