CropCommandVerifyProperties Method |
Namespace: Atalasoft.Imaging.ImageProcessing
Exception | Condition |
---|---|
ArgumentOutOfRangeException | CropRect;The left position cannot be greater than or equal to the image width. or CropRect;The top position cannot be greater than or equal to the image height. |
This method does not check the integrity of the source image itself. That is already done by the time VerifyProperties is called.
Errors should be indicated by throwing an appropriate exception.