CropBlackBordersEx Method

See Also     Examples     Applies To

Detects & set to White, margins consisting of black color around the native GdPicture image.
This function has not the same behaviour than the CropBlackBorders() function: The black borders are not removed but set to blank. Therefore, the image dimentions are kept.

Syntax

object.CropBlackBordersEx (nConfidence, nUncheckedLines)

The CropBlackBordersEx syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nConfidence Optional. Long. Default value is 100. Confidence threshold in percentage.
nUncheckedLines Optional. Long. Default value is 0. specify the number of line of pixel which are to be ignored

Returns

Long. GdPictureStatus

Category

Crop, Auto Deskew & Auto Border Removal





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.