SetMemoryThresholds example for Visual Basic
' Allocate tiled bitmaps when more than 75% of the computer memory is used, or for bitmaps larger than '100MB.
LEADRasterView1.Raster.MemoryTiledThreshold = -25
LEADRasterView1.Raster.MaxConventionalSize = 1024 * 102400
LEADRasterView1.Raster.TiledBitmapsSize = 0
LEADRasterView1.Raster.MemoryConventionalTile = 0
LEADRasterView1.Raster.MemoryConventionalBuffers = 0
LEADRasterView1.Raster.MemoryFlags = MEMORY_TILED_THRESHOLD + MEMORY_MAX_CONV_SIZE
LEADRasterView1.Raster.SetMemoryThresholds