findObjectsByGuid Method

Summary

Searches a list of containers for annotation objects using GUIDs.

Syntax
TypeScript
JavaScript
findObjectsByGuid = function( 
   containers, 
   guids 
) 
static findObjectsByGuid( 
   containers: AnnContainer[], 
   guids: string[] 
): { [key: number]: AnnObject[] }; 

Parameters

containers

Containers to search.

guids

Group of object GUIDs for which to search.

Return Value

A dictionary (map) where the key is the index of the container in containers and the value is a list of annotation objects in this container that has AnnObject.Guid items that match the guids.

If either of containers or guids is null, then this method will return null.

Remarks

This is a helper method that can quickly search and find all the annotation objects using their GUIDs in a group of containers. This can be helpful when using the Document Toolkit History Tracking feature of Annotations SDK.

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

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