Accusoft.ImagXpressSdk Namespace > Processor Class > DocumentBlankPageDetect Method : DocumentBlankPageDetect(Int32,Int32,Int32,Int32,Int32,Int32,Boolean) Method |
'Declaration Public Overloads Sub DocumentBlankPageDetect( _ Optional ByVal LeftMargin As Integer, _ Optional ByVal TopMargin As Integer, _ Optional ByVal RightMargin As Integer, _ Optional ByVal BottomMargin As Integer, _ Optional ByVal MinObjectDimension As Integer, _ Optional ByVal GapFill As Integer, _ Optional ByVal IgnoreBorder As Boolean _ )
'Usage Dim instance As Processor Dim LeftMargin As Integer Dim TopMargin As Integer Dim RightMargin As Integer Dim BottomMargin As Integer Dim MinObjectDimension As Integer Dim GapFill As Integer Dim IgnoreBorder As Boolean instance.DocumentBlankPageDetect(LeftMargin, TopMargin, RightMargin, BottomMargin, MinObjectDimension, GapFill, IgnoreBorder)
public void DocumentBlankPageDetect( int LeftMargin, int TopMargin, int RightMargin, int BottomMargin, int MinObjectDimension, int GapFill, bool IgnoreBorder )
public: void DocumentBlankPageDetect( int LeftMargin, int TopMargin, int RightMargin, int BottomMargin, int MinObjectDimension, int GapFill, bool IgnoreBorder )
public: void DocumentBlankPageDetect( int LeftMargin, int TopMargin, int RightMargin, int BottomMargin, int MinObjectDimension, int GapFill, bool IgnoreBorder )
When no object exceeding the size threshold is encountered on the page, BlankPageDetected is set to true to indicate the page is "blank". Low Confidence values on a "blank" determination indicate a significant number of objects near, but below the size threshold.
When an object exceeding the size threshold is encountered on the page, BlankPageDetected is set to false to indicate the page is "not blank". Low Confidence values on a "not blank" determination indicate a low number of objects over the size threshold.
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.