This method restores the contents of the object from the global memory. The method takes as an input parameter an HGLOBAL handle, which should be obtained from the HandleAsInt64 property of the Handle object. The Handle object is returned by the SaveToMemory method of an object of the same type as the current one.
HRESULT LoadFromMemory( __int64 HGlobal );
void LoadFromMemory(Int64 HGlobal );
Visual Basic .NET
Sub LoadFromMemory(HGlobal As Int64)
- [in] This parameter specifies the HGLOBAL handle of the memory from where the object contents should be loaded. The handle is passed as __int64.This handle should be the one obtained from the SaveToMemory method of an object of the same type as the current one, and should be valid (not freed). .
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
- The size of the memory area that the object allocates can be obtained by calling the GlobalSize function.
- The following objects provide this method: