←Select platform

FindObjectsByGuid Method

Summary

Searches a list of containers for annotation objects using GUIDs.

Syntax
C#
VB
C++
public static IDictionary<int, 
   IList<AnnObject>> FindObjectsByGuid( 
   IEnumerable<AnnContainer> containers, 
   IEnumerable<string> guids 
) 
Public Shared Function FindObjectsByGuid( 
   ByVal containers As IEnumerable(Of AnnContainer 
), 
   ByVal guids As IEnumerable(Of String)) As IDictionary(Of Integer, IList(Of AnnObject)) 
public:  
   static IDictionary<Int32, 
      IList<AnnObject^>^>^ FindObjectsByGuid( 
       IEnumerable<AnnContainer^>^ containers, 
      IEnumerable<String^>^ 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 21.0.2021.7.2
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.