Page.IsBlank

Page.IsBlank method

Gets the flag whether page is blank or not.

public bool IsBlank(double fillThresholdFactor)
ParameterTypeDescription
fillThresholdFactorDoubleThe fill threshold value that manages the sensitivity of detection. Should be in range [0..1).

Return Value

True - if page is blank; otherwise, false.

Remarks

To determine whether a page is empty or not, the ratio of the filled space to the total space of the page is calculated. This ratio is compared with the fillThresholdFactor parameter and if it is less, the page is considered empty.

See Also