Skip to main content

render_pdf

Function render_pdf 

Source
pub fn render_pdf(pages: Vec<PdfPage>, info: PdfInfo) -> RenderPdf ⓘ
Expand description

Replay each page into one PDF document through the platform’s own PDF writer. Resolves with the document’s bytes. Apps reach this through Drawing::to_pdf and PdfDocument::render.

Day API ↩ Guides· daybrite.dev