ClearImage COM API
IsBlankImage Method
CiRepair Object : IsBlankImage Method
Set to 0
Set to 0.0
Set to 0.0
Description
Is image blank
Syntax
Visual Basic
Public Function IsBlankImage( _
   Optional ByVal reserved0 As Long = 0, _
   Optional ByVal reserved1 As Double = 0, _
   Optional ByVal reserved2 As Double = 0 _
) As EBoolean
Parameters
reserved0
Set to 0
reserved1
Set to 0.0
reserved2
Set to 0.0
Remarks

The image is not blank if it has black pixels after ignoring the following image elements:   

Margins - Black pixels inside image margins. 

for sides longer than 7 inches the margin is 1 inch wide
for sides between 5 and 7 inches the margin is 0.5 inches  wide
for smaller sides the margin  size is 0 inch     

Noise -   Black objects of 5 x 5 pixels and smaller

Object -  A single object smaller than 0.5 x 0.5 inch in size

 

The image should have correct values for HorzDpi and VertDpi properties for proper calculations of margins and object size.

If this method returns false for a blank image, the image has other elements than listed above.  Preprocessing this image using CiTools and CiRepair methods could remove such elements.
See Also

CiRepair Object  | CiRepair Members