CropBorders2 Method

See Also     Examples     Applies To

Removes automatically the borders of the native image.

Syntax

object.CropBorders2 (nConfidence, nColorReference)

The CropBorders2 syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nConfidence Required. Long. Confidence threshold in percentage.
nColorReference Optional. Long. Default value is 1.
1: Top-Left pixel.
2: Top-Right pixel.
3: Bottom-Right pixel.
4: Bottom-Left pixel.

Returns

ImagingStatus.

Remarks

WARNING: If success this method changes the native image ID. Use the GetnativeImage() method to catch the new native image ID.

Category

Crop & Auto Border Removal





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.