GetArrayInfo method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short GetArrayInfo (VARIANT vMem, long lPage, long lSize, long uFlags);

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:  LoadArray method, SaveArray method, LoadMemory method, SaveMemory method, GetMemoryInfo method, GetFileInfo method

Topics:  Raster Images: Loading Files
Raster Images: Getting and Setting File Information