Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ProtractorObjectId Field
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : ProtractorObjectId Field



The automation id for AnnProtractorObject.

Syntax

Visual Basic (Declaration) 
Public Shared ProtractorObjectId As Integer
Visual Basic (Usage)Copy Code
Dim value As Integer
 
value = AnnAutomationManager.ProtractorObjectId
 
AnnAutomationManager.ProtractorObjectId = value
C# 
public static int ProtractorObjectId
C++/CLI 
public:
static int ProtractorObjectId

Remarks

Assign this value to AnnAutomationObject.Id when creating the AnnAutomationObject for AnnProtractorObject. 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 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

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