You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Crop, Auto Deskew & Auto Border Removal > CropBlackBorders > CropBlackBorders Method (Integer, Single, Integer)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.CropBlackBorders Method (Integer, Single, Integer)

Detects & removes margins consisting of black color around a GdPicture image.

C#
public GdPictureStatus CropBlackBorders(
    int ImageID, 
    Single Confidence, 
    int SkipLinesCount
);
Visual Basic
Public Function CropBlackBorders(
    ByVal ImageID As Integer, 
    ByVal Confidence As Single, 
    ByVal SkipLinesCount As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Confidence 
Confidence threshold in percentage.  
SkipLinesCount 
Specifies the number of lines around the image which must be ignored.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.