Using Memory-Resident Image Files
The following properties, methods and events let you work with files that are stored in memory in their original formats:
EnableSaveBufferEvent property
The SaveMemory method saves single-page files to memory. To save multi-page files use the SaveMemory2 method. The handle to the file is contained in the SaveMemory2Handle property and the size of the file is contained in the SaveMemory2Size property.