guid Property


The GUID associated with this annotation object.

Object.defineProperty(AnnObject.prototype, 'guid', 
	get: function(), 
	set: function(value) 
guid: string; 

Property Value

GUID associated with this annotation object. The default value is null.


The Guid can be set to any value by the user application. It can be used to link this annotation object with other parts of the application, such as a field in a database, a key in a dictionary, or to tie it to a UI element.

LEADTOOLS annotations framework do not use the Guid by default and is set to null. However, other parts of the LEADTOOLS SDK, such as Document Toolkit History Tracking or the Document Library toolkit uses the Guid in similar situations described above.

The Guid is persistent with undo/redo operations, as well as when the container of this object is saved and then re-loaded using AnnCodecs.

Call the AnnContainer.FindObjectsByGuid method to quickly search one or more containers for annotation objects with the specified GUID.

Target Platforms
Help Version 21.0.2021.3.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly