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.



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). .

Return values

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:

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.