GetArrayInfo method (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short GetArrayInfo (ILEADRaster* pRaster, ILEADRasterVariant * vMem, 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 SaveArray method. To load an image from a file in memory, refer to the LoadArray method.

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

See Also

Elements:

GetFileInfo method, GetMemoryInfo method

Topics:

Raster Images: Loading Files

 

Raster Images: Getting and Setting File Information