SavePdf

SavePdf(string, string, PdfOptimizationMode)

Save all recognition results into a searchable PDF file, with the original images set as the background.

public void SavePdf(string fullFileName, string embeddedFontPath = null, 
    PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)
ParameterTypeDescription
fullFileNameStringFilename with a path for saving recognition result in the selected format.
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


SavePdf(MemoryStream, string, PdfOptimizationMode)

Save all recognition results into an in-memory searchable PDF document, embedding the original images as the background.

public void SavePdf(MemoryStream stream, string embeddedFontPath = null, 
    PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)
ParameterTypeDescription
streamMemoryStreamMemoryStream for saving recognition result in the selected format.
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