Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Id Property
See Also 
Leadtools.Annotations Namespace > AnnAutomationObject Class : Id Property




Gets or sets the id of this AnnAutomationObject.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Id As Integer
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationObject
Dim value As Integer
 
instance.Id = value
 
value = instance.Id
C# 
public virtual int Id {get; set;}
Managed Extensions for C++ 
public: __property virtual int get_Id();
public: __property virtual void set_Id( 
   int value
);
C++/CLI 
public:
virtual property int Id {
   int get();
   void set (int value);
}

Return Value

The id of this AnnAutomationObject.

Example

For an example, refer to AnnAutomationManager.

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 LineObjectId and RectangleObjectId. For user-defined objects, use UserObjectId first then add 1 to this value for each new user object.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features