BlankPagesIDBySize

Uses the size of the Image file to determine if the file represents a blank page.

Syntax

bool BlankPagesIDBySize(StrParam)

Parameters

A three-part, comma-separated value consisting of:
  1. Numeric value indicating the maximum size in bytes that qualifies a page as a blank page.
  2. String value representing the Page Type of a blank page.
  3. Numeric value (0, 1 or 2) to designate which pages in a multi-page Image file are to be evaluated.
The third parameter is optional.
  • 0 = both sides of a two-page Image file.
  • 1 = odd pages only.
  • 2 = even images only.
Smart parameters are supported.

Returns

False if any of the following conditions apply:
  • The parameter is invalid
  • The rule with this action is bound to a field object of the document hierarchy
  • Any child image of the calling object qualifies as a blank page based on the specified byte size
Otherwise, this action returns True.

Level

Batch, Document, or Page levels.

Details

Any page with an Image file smaller than the size parameter (in bytes) is assigned the Page Type value you enter as a parameter.

Example
BlankPagesIDBySize("1000,Blank_Page")

Also, see IsBlankPage