SaveToMemory Method
This method saves the contents of the 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 saved into memory can be restored using the LoadFromMemory method of corresponding object.
Syntax
C++
HRESULT SaveToMemory( IHandle** Result );
C#
IHandle SaveToMemory();
Visual Basic .NET
Function SaveToMemory() As IHandle
Parameters
- Result
- [out, retval] A pointer to IHandle* pointer variable that receives interface pointer of the resulting Handle object.
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
9/17/2024 3:14:41 PM