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 can be restored with the help of the IEngine::LoadImageDocFromMemory method.



HRESULT SaveToMemory( IHandle** Result );


Handle SaveToMemory();

Visual Basic .NET

Function SaveToMemory() As Handle


[out, retval] A pointer to IHandle* pointer variable that receives interface pointer of the resulting Handle object representing the handle to the associated bitmap.

Return values

This method has no specific return values. It returns standard return values of ABBYY FlexiCapture SDK functions.

See also



15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.