MemoryInfoTileSize property (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long MemoryInfoTileSize

Overview

Refer to Memory Storage Types for Bitmaps.

Remarks

Gets or sets a value that represents the size of the tile. This property is used for setting the tile size only if SET_MEMORYINFO_TILESIZE is set in the MemoryInfoFlags property before calling the SetMemoryInfo method.

Each tile will contain a full number of rows. You can obtain the number of rows in each tile by dividing the tile size by the BytesPerLine property. All tiles in the bitmap, except for the last tile, will have the same size. The last tile contains the leftover rows. The size of the last tile can be calculated using the following formula:

BitmapSize – (MemoryInfoTotalTiles – 1) * MemoryInfoTileSize

This property is updated by the GetMemoryInfo method.

See Also

Elements:

MemoryInfoType Property, MemoryInfoTotalTiles Property, MemoryInfoConventionalTiles Property, MemoryInfoMaxTileViews Property, MemoryInfoTileViews Property, MemoryInfoFlags Property, SetMemoryInfo Method, GetMemoryInfo Method

Topics:

Raster Images: Creating and Deleting