LoadFromMemory Method
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.
Syntax
C++
HRESULT LoadFromMemory( __int64 HGlobal );
C#
void LoadFromMemory(Int64 HGlobal );
Visual Basic .NET
Sub LoadFromMemory(HGlobal As Int64)
Parameters
- HGlobal
- [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). .
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
Remarks
- The size of the memory area that the object allocates can be obtained by calling the GlobalSize function.
- The following objects provide this method:
See also
15.08.2023 13:19:30