Creates a new Image by cropping an area out of an existing image.
Namespace: ImageSenseAssembly: ImageSense (in ImageSense.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public FilterChain Crop( CropFrom cropFrom, int pixelsToCrop ) |
Visual Basic |
---|
Public Function Crop ( _ cropFrom As CropFrom, _ pixelsToCrop As Integer _ ) As FilterChain |
Visual C++ |
---|
public: FilterChain^ Crop( CropFrom cropFrom, int pixelsToCrop ) |
Parameters
- cropFrom
- Type: ImageSense..::..CropFrom
The side from which pixels will be cropped.
- pixelsToCrop
- Type: System..::..Int32
The number of pixels to crop from the source image.