pub fn pdf(
document: &PagedDocument,
options: &PdfOptions<'_>,
) -> Result<Vec<u8>, EcoVec<SourceDiagnostic>>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<'_>,
) -> Result<Vec<u8>, EcoVec<SourceDiagnostic>>Export a document into a PDF file.
Returns the raw bytes making up the PDF file.