ImageGear23.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class : AddTilt(ImGearRasterPage,Double,Double) Method |
'Declaration Public Shared Sub AddTilt( _ ByVal page As ImGearRasterPage, _ ByVal slopeX As Double, _ ByVal slopeY As Double _ )
'Usage Dim page As ImGearRasterPage Dim slopeX As Double Dim slopeY As Double ImGearRasterProcessing.AddTilt(page, slopeX, slopeY)
Can be applied only to 8, 16 or 32-bpp grayscale images with one channel.
// Find the tilt of an image. double slopeX, slopeY, piston; ImGearRasterProcessing.FindTilt(igRasterPage, out slopeX, out slopeY, out piston); // Add the found tilt from the image, in effect removing it. ImGearRasterProcessing.AddTilt(igRasterPage, slopeX, slopeY);
' Find the tilt of an image. Dim slopeX As Double, slopeY As Double, piston As Double ImGearRasterProcessing.FindTilt(igRasterPage, slopeX, slopeY, piston) ' Add the found tilt from the image, in effect removing it. ImGearRasterProcessing.AddTilt(igRasterPage, slopeX, slopeY)