←Select platform

UserObjectId Field

Summary

The automation id for user-defined AnnObject derived classes.

Syntax

C#
VB
C++
public const int UserObjectId 
  
Public Const UserObjectId As Integer 
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. For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS Annotations (Deprecated). 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly