←Select platform

Guid Property

Summary

The GUID associated with this annotation object.

Syntax
C#
C++/CLI
Python
public string Guid { get; set; } 
public:  
   property String^ Guid 
   { 
      String^ get() 
      void set(String^ value) 
   } 
Guid # get and set (AnnObject) 

Property Value

The 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 use the GUID in situations similar to the ones 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.

The AnnContainer.FindObjectsByGuid method can be used to quickly search one or more containers for annotation objects with certain GUIDs.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.