GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / CropBorders Method / CropBorders(Int32,ImagingContext) Method
GdPicture image identifier.
A member of the ImagingContext enumeration.





In This Topic
CropBorders(Int32,ImagingContext) Method
In This Topic
Detects and removes margins consisting of constant color around a GdPicture image.
Syntax
'Declaration
 
Public Overloads Function CropBorders( _
   ByVal ImageID As Integer, _
   ByVal Context As ImagingContext _
) As GdPictureStatus
public GdPictureStatus CropBorders( 
   int ImageID,
   ImagingContext Context
)
public function CropBorders( 
    ImageID: Integer;
    Context: ImagingContext
): GdPictureStatus; 
public function CropBorders( 
   ImageID : int,
   Context : ImagingContext
) : GdPictureStatus;
public: GdPictureStatus CropBorders( 
   int ImageID,
   ImagingContext Context
) 
public:
GdPictureStatus CropBorders( 
   int ImageID,
   ImagingContext Context
) 

Parameters

ImageID
GdPicture image identifier.
Context
A member of the ImagingContext enumeration.

Return Value

A member of the GdPictureStatus enumeration.
See Also