We want to crop an image but while using CropCommand we are getting error.We want that how to implement cropcommand to crop an image.
What error message were you getting ?
You can use the CropCommand like this:
CropCommand cmd = new CropCommand()
cmd.SourceArea = new Rectangle(0,0, 100, 100); // This is the rectangular portion of the image you wish to obtain.
ImImage croppedPortion = cmd.Process(inputImage, null);
Thanks for your interest in our products and please let us know if you have any questions.
Data Techniques Support
This question is closed to new answers.