IsBlankPage

Counts the number of words in the Fingerprint file (.cco) file of the current page and returns True if the count is less than or equal to the number you enter as the parameter.

Member of namespace

Recog_Shared

Syntax

bool IsBlankPage (StrParam)

Parameters

Long value indicating the maximum number of words in the Fingerprint file (.cco) of a blank source page. "50", for example, tells the action that if a CCO file has 50 words or less, its page is blank. Valid values are 0 to 2,147,483,647.

Returns

False if the action parameter is invalid or if the action is unable to locate the Image file for the current page or its CCO file. Otherwise, True.

Level

Page level.

Details

This action counts the number of words in the CCO file of the current page and returns True if the count is less than or equal to the number you enter as the parameter.

A rule containing this action should apply to a Page object; within the rule, this action should come after one of the actions that creates a fingerprint, such as AnalyzeImage, RecognizePageOCR_S, or RecognizePageICR_C.

Example
AnalyzeImage()
IsBlankPage(5)
SetPageType(Separator)

This sequence uses AnalyzeImage to create a CCO file, then checks to see if the file contains less than six words. If so, the IsBlankPage(5) action returns True. The final action, a DCO action, establishes the page as a Separator page.