Save

Save(string, SaveFormat, string, PdfOptimizationMode)

Save all recognition result to a file.

public void Save(string fullFileName, SaveFormat saveFormat = SaveFormat.Text, 
    string embeddedFontPath = null, 
    PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)
ParameterTypeDescription
fullFileNameStringFilename with a path for saving recognition result in the selected format.
saveFormatSaveFormatDocument format (Docx, Txt, Pdf, Xlsx, Rtf, Json, Xml, Epub).
embeddedFontPathStringOptionally. Full path to the user font.
optimizePdfPdfOptimizationModeReduce the PDF file size by lowering the quality of background images. By default, the original image quality is preserved.

See Also


Save(MemoryStream, SaveFormat, string, PdfOptimizationMode)

Save all recognition results to a memory stream in the specified format.

public void Save(MemoryStream stream, SaveFormat saveFormat = SaveFormat.Text, 
    string embeddedFontPath = null, 
    PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)
ParameterTypeDescription
streamMemoryStreamMemoryStream for saving recognition result in the selected format.
saveFormatSaveFormatDocument format (Docx, Txt, Pdf, Xlsx, Rtf, Json, Xml, Epub).
embeddedFontPathStringOptionally. Full path to the user font.
optimizePdfPdfOptimizationModeReduce the PDF file size by lowering the quality of background images. By default, the original image quality is preserved.

See Also