LoadMemory method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int LoadMemory (int hMem, int iBitsPerPixel, int iPage, int iBufSize);

Delphi Syntax

LoadMemory (hMem:L_HANDLE; iBitsPerPixel, iPage:Integer; iBufSize: LongInt): integer;

Overview

Refer to Using Memory-Resident Image Files.

Remarks

Loads an image from a file that is stored in memory. The file can be in any supported image file format and bits per pixel, whether compressed or uncompressed.

For supported formats, refer to Summary of All Supported Image File Formats.

Support for 12 and 16-bit grayscale images is available only in the Document/Medical toolkits.

To get information about a file stored in memory, refer to the GetMemoryInfo method. To save an image to a file in memory, refer to the SaveMemory method.

See Also

Elements:

Load method, LoadStamp method, StartFeedLoad method, OnLoadInfo event, EnableProgressEvent property

Topics:

Raster Images: Loading Files