Perspective Example for Visual Basic
Dim RasterProc As New LEADRasterProcess
RasterProc.PerspectivePointsX(0) = LEADRasterView1.Raster.BitmapWidth * 3 / 9
RasterProc.PerspectivePointsY(0) = LEADRasterView1.Raster.BitmapWidth * 1 / 12
RasterProc.PerspectivePointsX(1) = LEADRasterView1.Raster.BitmapWidth * 3 / 4
RasterProc.PerspectivePointsY(1) = LEADRasterView1.Raster.BitmapWidth * 2 / 12
RasterProc.PerspectivePointsX(2) = LEADRasterView1.Raster.BitmapWidth * 2 / 10
RasterProc.PerspectivePointsY(2) = LEADRasterView1.Raster.BitmapWidth * 8 / 10
RasterProc.PerspectivePointsX(3) = LEADRasterView1.Raster.BitmapWidth * 10 / 11
RasterProc.PerspectivePointsY(3) = LEADRasterView1.Raster.BitmapWidth * 7 / 10
RasterProc.Perspective LEADRasterView1.Raster, RGB(255, 255, 255), PERSPECTIVE_IMAGE