Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Unique ID for created annotation objects.
Started by bidurboh at 06-24-2008 5:42. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  06-24-2008, 5:42
bidurboh is not online. Last active: 6/24/2008 8:03:27 AM bidurboh

Not Ranked
Joined on 06-24-2008
Posts 2
Unique ID for created annotation objects.
Reply Quote
Does Annotation objects created in Leed Tools have any unique ID associated with individual entities? Not the entity type Id but different ID for two entities of same type.

Any comments will be welcomed.

Thanks.
   Report 
  06-24-2008, 11:48
Adnan Ismail is not online. Last active: 10/14/2008 3:53:46 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,269
Re: Unique ID for created annotation objects.
Reply Quote
If you are using the DLL API, each annotation object will have a unique handle that is valid for the lifetime of the object. The type of this handle is HANNOBJECT.
If you cut and paste an object, for example, that handle could change.

If you are using .NET, each object is unique, and if you want to assign a unique integer number, you can assign your own numbers in the AnnObject.Tag Property.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » DotNet » Re: Unique ID for created annotation objects.

Powered by Community Server, by Telligent Systems