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 23.0.2024.3.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.