 | IBitmapImageCrop Method |
Copies a rectangular region from the image, and returns as new image.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
SyntaxIBitmapImage Crop(
int startX,
int startY,
int width,
int height
)
Parameters
- startX
- Type: SystemInt32
The start X position. - startY
- Type: SystemInt32
The start Y position. - width
- Type: SystemInt32
The crop width. - height
- Type: SystemInt32
The crop height.
Return Value
Type:
IBitmapImageA new image instance with effect applied.
Exceptions
See Also