←Select platform

IsMasterFormInFullTextSearch Method

Summary

Detects if the master form has been added to the full text database.

Syntax
C#
C++/CLI
Java
Python
public bool IsMasterFormInFullTextSearch( 
   FormRecognitionAttributes masterAttributes, 
   string repositoryName 
) 
public:  
   bool IsMasterFormInFullTextSearch( 
      FormRecognitionAttributes^ masterAttributes, 
      String^ repositoryName 
   ) 
public boolean isMasterFormInFullTextSearch( 
   FormRecognitionAttributes masterAttributes, 
   java.lang.String repositoryName 
); 
def IsMasterFormInFullTextSearch(self,masterAttributes,repositoryName): 

Parameters

masterAttributes

Attributes of the master form to check. This value cannot be null.

repositoryName

Repository name to check. If this is null, then the default repository without a name will be searched.

Return Value

true if an item matching this master form exists in the full text database, otherwise; false.

Remarks

Use IsMasterFormInFullTextSearch to quickly detect if a master form exists in the full text database. This method will call IFullTextSearchManager.Select on all the pages of the master form and will only return true if items for all the pages were found.

This method creates a new instance of FullTextSearchItem, fills it up using the values described below and then calls Select to perform its operation:

Member

Value

RepositoryName

repositoryName parameter.

FormName

Name of the form obtained from masterAttributes.

PageNumber

-1 to get all the pages.

When the method returns, the number of items found should match the number of pages in masterAttributes with correct page numbers.

For more information, refer to Speeding Up Forms Recognition Using the Full Text Search Feature.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Recognition Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.