GetMemoryInfo method (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short GetMemoryInfo()

Overview

Refer to Memory Storage Types for Bitmaps.

Remarks

Gets information about a bitmap’s memory allocation. The following properties will be updated automatically:

MemoryInfoType Property

MemoryInfoTileSize Property

MemoryInfoTotalTiles Property

MemoryInfoConventionalTiles Property

MemoryInfoMaxTileViews Property

MemoryInfoTileViews Property

This method will allow you to retrieve the values set with the SetMemoryInfo method.

This method is used for informational purposes. You can use the SetMemoryInfo method to change one of more of these parameters. For example, you might increase or decrease the maximum number of tile views at one time (to increase the access time for this bitmap).

Tiled bitmaps are allocated when there is not enough conventional memory to allocate the whole bitmap in conventional memory in one big contiguous chunk. This is often the case for huge bitmaps (500MB or above).

See Also

Elements:

MemoryInfoType Property, MemoryInfoTileSize Property, MemoryInfoTotalTiles Property, MemoryInfoConventionalTiles Property, MemoryInfoMaxTileViews Property, MemoryInfoTileViews Property, SetMemoryInfo Method, MemoryInfoFlags property

Topics:

Raster Images: Creating and Deleting Images