Accusoft.ImagXpress12.Net
DocumentBlankPageDetect(Int32,Int32,Int32,Int32,Int32,Int32,Boolean) Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > Processor Class > DocumentBlankPageDetect Method : DocumentBlankPageDetect(Int32,Int32,Int32,Int32,Int32,Int32,Boolean) Method




LeftMargin
Integer values which represent the number of rows of pixels to ignore on the left edge of the image. If IgnoreBorder is set to false, the left margin is applied to the left side of the original image. If IgnoreBorder is true, the left margin is applied to the left side of the page, inside the detected border. The default value is 0.
TopMargin
Integer values which represent the number of rows of pixels to ignore on the top edge of the image. If IgnoreBorder is set to false, the top margin is applied to the top side of the original image. If IgnoreBorder is true, the top margin is applied to the top side of the page, inside the detected border. The default value is 0.
RightMargin
Integer values which represent the number of rows of pixels to ignore on the right edge of the image. If IgnoreBorder is set to false, the right margin is applied to the right side of the original image. If IgnoreBorder is true, the right margin is applied to the right side of the page, inside the detected border. The default value is 0.
BottomMargin
Integer values which represent the number of rows of pixels to ignore on the bottom edge of the image. If IgnoreBorder is set to false, the bottom margin is applied to the bottom side of the original image. If IgnoreBorder is true, the bottom margin is applied to the bottom side of the page, inside the detected border. The default value is 0.
MinObjectDimension
An integer value which represents the minimum width or height of a black object considered non-blank. Set it higher to ignore larger objects (causing more pages to be considered blank) or lower to notice smaller objects (causing more pages to be considered non-blank). The default value is 10.
GapFill
An integer value which represents the maximum spacing between black objects considered connected. Set it higher to cause broken objects to be considered as two parts of a larger object (causing more pages to be considered non-blank) or lower to cause neighboring black objects to be treated separately (causing more pages to be considered blank). The default value is 5.
IgnoreBorder
A boolean value which is true to do a quick search for over scan in the border, then moves the detection area inside the detected over scanned border. If this property is set to true and the image does not have an actual border, there is a possibility that the method will return a false positive. The default value is false.

Glossary Item Box

Examines a rectangle on an image, determining if the page is considered blank, based on the amount of data on the page.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

LeftMargin
Integer values which represent the number of rows of pixels to ignore on the left edge of the image. If IgnoreBorder is set to false, the left margin is applied to the left side of the original image. If IgnoreBorder is true, the left margin is applied to the left side of the page, inside the detected border. The default value is 0.
TopMargin
Integer values which represent the number of rows of pixels to ignore on the top edge of the image. If IgnoreBorder is set to false, the top margin is applied to the top side of the original image. If IgnoreBorder is true, the top margin is applied to the top side of the page, inside the detected border. The default value is 0.
RightMargin
Integer values which represent the number of rows of pixels to ignore on the right edge of the image. If IgnoreBorder is set to false, the right margin is applied to the right side of the original image. If IgnoreBorder is true, the right margin is applied to the right side of the page, inside the detected border. The default value is 0.
BottomMargin
Integer values which represent the number of rows of pixels to ignore on the bottom edge of the image. If IgnoreBorder is set to false, the bottom margin is applied to the bottom side of the original image. If IgnoreBorder is true, the bottom margin is applied to the bottom side of the page, inside the detected border. The default value is 0.
MinObjectDimension
An integer value which represents the minimum width or height of a black object considered non-blank. Set it higher to ignore larger objects (causing more pages to be considered blank) or lower to notice smaller objects (causing more pages to be considered non-blank). The default value is 10.
GapFill
An integer value which represents the maximum spacing between black objects considered connected. Set it higher to cause broken objects to be considered as two parts of a larger object (causing more pages to be considered non-blank) or lower to cause neighboring black objects to be treated separately (causing more pages to be considered blank). The default value is 5.
IgnoreBorder
A boolean value which is true to do a quick search for over scan in the border, then moves the detection area inside the detected over scanned border. If this property is set to true and the image does not have an actual border, there is a possibility that the method will return a false positive. The default value is false.

Remarks

Use this function for direct control over each margin value.

ImagXpress examines an image and determines if it is blank or not, using parameters provided. The current image remains unchanged.

Note: Available in Professional edition.

See Also

©2013. Accusoft Corporation. All Rights Reserved.