This function rotates the image by Angle (in degrees) and crops the borders of the original bitmap.
It is useful to deskew an image knowing the rotation angle.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void RotateAndCrop( double angle )
Public Sub RotateAndCrop ( _ angle As Double _ )
public: void RotateAndCrop( double angle )
Parameters
- angle
- Double
Rotation angle. Must be in the range -90 and +90 degrees.
Examples
CopyC#
double d = ieViewer1.Image.SkewDetection;
ieViewer1.Image.RotateAndCrop(d);