LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ButtonObjectId Field
See Also 
Leadtools.Annotations Namespace > AnnAutomationManager Class : ButtonObjectId Field



The automation id for AnnButtonObject.

Syntax

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

Remarks

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

See Also

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