'Declaration
Public Overloads Function IsBlank( _ ByVal ImageID As Integer, _ ByVal Confidence As Single, _ ByVal AccountForMargins As Boolean, _ ByVal AccountForPunchHoles As Boolean _ ) As Boolean
public bool IsBlank( int ImageID, float Confidence, bool AccountForMargins, bool AccountForPunchHoles )
public function IsBlank( ImageID: Integer; Confidence: Single; AccountForMargins: Boolean; AccountForPunchHoles: Boolean ): Boolean;
public function IsBlank( ImageID : int, Confidence : float, AccountForMargins : boolean, AccountForPunchHoles : boolean ) : boolean;
public: bool IsBlank( int ImageID, float Confidence, bool AccountForMargins, bool AccountForPunchHoles )
public: bool IsBlank( int ImageID, float Confidence, bool AccountForMargins, bool AccountForPunchHoles )
Parameters
- ImageID
- GdPicture image identifier.
- Confidence
- Confidence threshold in the range [0 - 100]. Suggested value is 99.5.
- AccountForMargins
- Specifies if the algorithm must drop the margins during the calculation (slower). Yields more accurate results for images with margins. Default value is true.
- AccountForPunchHoles
- Specifies if the algorithm must drop the punch holes during the calculation (slower). Yields more accurate results for images with punch holes. Default value is true.
Return Value
True if it is a blank image, else False.