←Select platform

Guid Property

Summary

The GUID associated with this annotation object.

Syntax
C#
VB
C++
public string Guid { get; set; } 
Public Property Guid() As String 
   Get 
   Set 
public:  
   property String^ Guid 
   { 
      String^ get() 
      void set(String^ value) 
   } 

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly