SetMemoryInfo example for Visual Basic

   ' change the tiled bitmap so is can use as many cache buffers as possible: 
   
   LEADRasterView1.Raster.MemoryInfoType = 0
   LEADRasterView1.Raster.MemoryInfoTileSize = 0
   LEADRasterView1.Raster.MemoryInfoTotalTiles = 0
   LEADRasterView1.Raster.MemoryInfoConventionalTiles = 0
   LEADRasterView1.Raster.MemoryInfoMaxTileViews = &HFFFFFFFF
   LEADRasterView1.Raster.MemoryInfoTileViews = &HFFFFFFFF
   LEADRasterView1.Raster.MemoryInfoFlags = SET_MEMORYINFO_MAXTILEVIEW + _
                        SET_MEMORYINFO_TILEVIEWS
  LEADRasterView1.Raster.SetMemoryInfo