LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

UserObjectId Field






The automation ID for user-defined AnnObject derived classes. .NET support Silverlight support
Syntax
public const int UserObjectId
'Declaration
 
Public Const UserObjectId As Integer
'Usage
 
Dim value As Integer
 
value = AnnAutomationManager.UserObjectId
public const int UserObjectId
 var UserObjectId 
public:
const int UserObjectId
Remarks
This field is used when automating user-defined AnnObject derived classes. Assign this value as the AnnAutomationObject.Id property when creating the AnnAutomationObject for the first user-defined object you have. Assign UserObjectId + 1 to the second, UserObjectId + 2 to the third and so on. .

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 the UserObjectId first and then add 1 to this value for each new user object.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnAutomationManager Class
AnnAutomationManager Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.