generateFromDocument

abstract fun generateFromDocument(documentUuid: String, pdfConfiguration: PdfConfiguration = PdfConfiguration(), performOcr: Boolean = false, outputURI: String? = null): Result<String>

Generates a PDF document from the specified document.

Return

The result containing the output PDF URI.

Parameters

documentUuid

The UUID of the source document.

pdfConfiguration

The configuration for PDF generation.

performOcr

Whether OCR should be performed.

outputURI

Optional output URI for the generated PDF.