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

Leadtools.Annotations.Engine Assembly