LoadFromMemory Method
This method restores the object contents 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 obtained using 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 FineReader Engine functions.
Remarks
Note that in the case when an object data is read by a functionally limited ABBYY FineReader Engine version, while it was saved by a version with a wider functional set, object properties that cannot be changed in the limited version, are restored to default values.
This method does not work if the Engine object is created using the OutprocLoader object.
The following objects provide this method:
- Image-related objects:
- ImageProcessingParams
- PrepareImageMode
- ImageModification
- JpegExtendedParams
- CoordinatesConverter
- TiffExtendedParams
- PngExtendedParams
- Language-related objects:
- Export parameters:
- HTMLExportParams
- PPTExportParams
- RTFExportParams
- TextExportParams
- XLExportParams
- XMLExportParams
- AltoExportParams
- EBookExportParams
- PDFExportParams
- XPSExportParams
- Processing parameters:
- PageProcessingParams
- PagePreprocessingParams
- PageAnalysisParams
- TableAnalysisParams
- BarcodeParams
- ObjectsExtractionParams
- OrientationDetectionParams
- SortingBlocksParams
- RecognizerParams
- SynthesisParamsForPage
- SynthesisParamsForDocument
- DocumentStructureDetectionParams
- FontFormattingDetectionParams
- DocumentProcessingParams
- EmptyPageDetectionParams
- Layout
- CheckmarkTrainingData
- ParagraphParams
- Region
See also
17.09.2024 15:14:41