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

Crops a custom area of a GdPicture image.

C#
public GdPictureStatus Crop(
    int ImageID, 
    int Left, 
    int Top, 
    int Width, 
    int Height
);
Visual Basic
Public Function Crop(
    ByVal ImageID As Integer, 
    ByVal Left As Integer, 
    ByVal Top As Integer, 
    ByVal Width As Integer, 
    ByVal Height As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Left 
Left source pixel.  
Top 
Top source pixel.  
Width 
Width in pixel.  
Height 
Height in pixel.  
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.