←Select platform

FindObjectsByGuid Method

Summary

Searches a list of containers for annotation objects using GUIDs.

Syntax
C#
C++/CLI
Python
public static IDictionary<int, 
   IList<AnnObject>> FindObjectsByGuid( 
   IEnumerable<AnnContainer> containers, 
   IEnumerable<string> guids 
) 
public:  
   static IDictionary<Int32, 
      IList<AnnObject^>^>^ FindObjectsByGuid( 
       IEnumerable<AnnContainer^>^ containers, 
      IEnumerable<String^>^ guids 
   ) 
def FindObjectsByGuid(self,containers,guids): 

Parameters

containers

Containers to search.

guids

Group of object GUIDs to search for.

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 a matching AnnObject.Guid to guids.

If either 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 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.