Crops an image according to the specified offsets and dimensions.
Syntax
'Declaration
Public Shared Sub Crop( _
ByVal As ImGearPage, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim page As ImGearPage
Dim left As Integer
Dim top As Integer
Dim width As Integer
Dim height As Integer
ImGearProcessing.Crop(page, left, top, width, height)
public static void Crop(
ImGearPage ,
int ,
int ,
int ,
int
)
public: static void Crop(
ImGearPage* ,
int ,
int ,
int ,
int
)
public:
static void Crop(
ImGearPage^ ,
int ,
int ,
int ,
int
)
Parameters
- page
- Image to crop.
- left
- Left border of the new image.
- top
- Top border of the new image.
- width
- Width of the new image.
- height
- Height of the new image.
Example
See Also