pub fn pdf(
document: &PagedDocument,
options: &PdfOptions<'_>,
) -> SourceResult<Vec<u8>>Expand description
Export a document into a PDF file.
Returns the raw bytes making up the PDF file.
pub fn pdf(
document: &PagedDocument,
options: &PdfOptions<'_>,
) -> SourceResult<Vec<u8>>Export a document into a PDF file.
Returns the raw bytes making up the PDF file.