SaveToFile Method
This method saves the object contents into a file on disk.
Syntax
C++
HRESULT SaveToFile( BSTR Path );
C#
void SaveToFile( string Path );
Visual Basic .NET
Sub SaveToFile( Path As String )
Parameters
- Path
- [in] This parameter of the type BSTR specifies the path to the file where the object contents should be saved. If a file with this name already exists, it is overwritten without prompt.
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.
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:40