DetectSkew

This method calculates the skew of the current image.

You can use this value as a parameter for the Rotate method to deskew the image.

Syntax

DetectSkew () As Double