Note: You must be registered in order to post a reply.To register, click here. Registration is FREE!
deskewAngle := -deskewAngle * 180 / PI; if orientation = ievOCROrientPAGE_RIGHT then deskewAngle := deskewAngle - 90 else if orientation = ievOCROrientPAGE_DOWN then deskewAngle := deskewAngle - 180 else if orientation = ievOCROrientPAGE_LEFT then deskewAngle := deskewAngle - 270; if deskewAngle <> 0 then ImageEnView1.Proc.Rotate( -deskewAngle );