LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Id Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationObject Class : Id Property



The Id Property supports WPF/Silverlight.

The Id Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the id of this AnnAutomationObject. Supported in Silverlight, Windows Phone 7

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;}
C++/CLI 
public:
virtual property int Id {
   int get();
   void set (    int value);
}

Property Value

The id of this AnnAutomationObject.

Example

For C#/VB examples, 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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Id requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.