Save
Contents
[
Hide
]Save(string, SaveFormat, string, PdfOptimizationMode)
Save all recognition result to a file.
public void Save(string fullFileName, SaveFormat saveFormat, string embeddedFontPath,
PdfOptimizationMode optimizePdf)
Parameter | Type | Description |
---|---|---|
fullFileName | String | Filename with a path for saving recognition result in the selected format. |
saveFormat | SaveFormat | Document format (Docx, Txt, Pdf, Xlsx, Rtf, Json, Xml, Epub). |
embeddedFontPath | String | Optionally. Full path to the user font. |
optimizePdf | PdfOptimizationMode | Reduce the PDF file size by lowering the quality of background images. By default, the original image quality is preserved. |
See Also
- enum SaveFormat
- enum PdfOptimizationMode
- class OcrOutput
- namespace Aspose.OCR
- assembly Aspose.OCR
Save(string, SaveFormat)
Save all recognition result to a file.
public void Save(string fullFileName, SaveFormat saveFormat = SaveFormat.Text)
Parameter | Type | Description |
---|---|---|
fullFileName | String | Filename with a path for saving recognition result in the selected format. |
saveFormat | SaveFormat | Document format (Docx, Txt, Pdf, Xlsx, Rtf, Json, Xml, Epub). |
See Also
- enum SaveFormat
- class OcrOutput
- namespace Aspose.OCR
- assembly Aspose.OCR
Save(Stream, SaveFormat)
Save all recognition results to a memory stream in the specified format.
public void Save(Stream stream, SaveFormat saveFormat = SaveFormat.Text)
Parameter | Type | Description |
---|---|---|
stream | Stream | MemoryStream for saving recognition result in the selected format. |
saveFormat | SaveFormat | Document format (Docx, Txt, Pdf, Xlsx, Rtf, Json, Xml, Epub). |
See Also
- enum SaveFormat
- class OcrOutput
- namespace Aspose.OCR
- assembly Aspose.OCR
Save(Stream, SaveFormat, string, PdfOptimizationMode)
Save all recognition results to a memory stream in the specified format.
public void Save(Stream stream, SaveFormat saveFormat = SaveFormat.Text,
string embeddedFontPath = null,
PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)
Parameter | Type | Description |
---|---|---|
stream | Stream | MemoryStream for saving recognition result in the selected format. |
saveFormat | SaveFormat | Document format (Docx, Txt, Pdf, Xlsx, Rtf, Json, Xml, Epub). |
embeddedFontPath | String | Optionally. Full path to the user font. |
optimizePdf | PdfOptimizationMode | Reduce the PDF file size by lowering the quality of background images. By default, the original image quality is preserved. |
See Also
- enum SaveFormat
- enum PdfOptimizationMode
- class OcrOutput
- namespace Aspose.OCR
- assembly Aspose.OCR