Deskew Example for Visual Basic

    Dim RasterProc As New LEADRasterProcess
    RasterProc.Deskew LEADRasterView1.Raster, RGB(0, 0, 0), DSKW_NOFILL Or DSKW_PROCESS Or DSKW_DOCUMENTIMAGE
   
    Dim RasterProc As New LEADRasterProcess
    RasterProc.Deskew LEADRasterView1.Raster, RGB(0, 0, 0), DSKW_NOFILL Or DSKW_PROCESS Or DSKW_DOCUMENTIMAGE
    MsgBox RasterProc.DeskewAngle