SaveToMemory Method of the ImageDocument Object
This method saves the contents of the ImageDocument object into the global memory. The method returns an HGLOBAL handle of the memory area allocated for the object as the Handle object. This object manages memory allocation and releases resources when they are no longer in use.
The contents of the object saved into memory can be restored using the IEngine::LoadImageDocFromMemory method.
HRESULT SaveToMemory( IHandle** Result );
Visual Basic .NET
Function SaveToMemory() As IHandle
- [out, retval] A pointer to IHandle* pointer variable that receives interface pointer of the resulting Handle object.
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
This method does not work if the Engine object is created using the OutprocLoader object.