GetMemoryInfo method (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short GetMemoryInfo (ILEADRaster* pRaster, long hMem, long lPage, long iSize);

Overview

Refer to Using Memory-Resident Image Files.

Remarks

Gets information about a file that is stored in memory.

This method updates the following properties:

InfoBits property
InfoCompress property

InfoFormat property

InfoHeight property

InfoPage property

InfoSizeDisk property

InfoSizeMem property

InfoWidth property

To save an image to a file in memory, refer to the SaveMemory method. To load an image from a file in memory, refer to the LoadMemory method.

Note: You cannot save a multipage file using the SaveMemory method, but if you get a multipage file into memory in some other way, you can specify a page when using the GetMemoryInfo method or the LoadMemory method.

See Also

Elements

ColorSpace property, GetFileInfo method

Topics

Raster Images: Loading Files

 

Raster Images: Getting and Setting File Information