←Select platform

IsMasterFormInFullTextSearch Method

Summary

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

Syntax

C#
VB
C++
public bool IsMasterFormInFullTextSearch( 
   FormRecognitionAttributes masterAttributes, 
   string repositoryName 
) 
Public Function IsMasterFormInFullTextSearch( 
   ByVal masterAttributes As FormRecognitionAttributes, 
   ByVal repositoryName As String 
) As Boolean 
public:  
   bool IsMasterFormInFullTextSearch( 
      FormRecognitionAttributes^ masterAttributes, 
      String^ 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Recognition Assembly