Guid Property

Summary

The GUID associated with this annotation object.

Syntax
TypeScript
JavaScript
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.

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly