NormalizeAngle

RasterCachedMultipageImage.NormalizeAngle method

Normalizes the angle. This method is applicable to scanned text documents to get rid of the skewed scan. This method uses GetSkewAngle and Rotate methods.

public override void NormalizeAngle(bool resizeProportionally, Color backgroundColor)
ParameterTypeDescription
resizeProportionallyBooleanif set to true you will have your image size changed according to rotated rectangle (corner points) projections in other case that leaves dimensions untouched and only internal image contents are rotated.
backgroundColorColorColor of the background.

See Also