Struct printpdf::types::pdf_document::PdfDocument
[−]
[src]
pub struct PdfDocument { pub fonts: FontList, pub document_id: String, pub metadata: PdfMetadata, // some fields omitted }
PDF document
Fields
fonts: FontList
Fonts used in this document
document_id: String
Document ID. Must be changed if the document is loaded / parsed from a file
metadata: PdfMetadata
Metadata for this document
Methods
impl PdfDocument
[src]
fn new<S>(
document_title: S,
initial_page_width: Mm,
initial_page_height: Mm,
initial_layer_name: S
) -> (PdfDocumentReference, PdfPageIndex, PdfLayerIndex) where
S: Into<String>,
[src]
document_title: S,
initial_page_width: Mm,
initial_page_height: Mm,
initial_layer_name: S
) -> (PdfDocumentReference, PdfPageIndex, PdfLayerIndex) where
S: Into<String>,
Creates a new PDF document
Trait Implementations
impl Debug for PdfDocument
[src]
impl Clone for PdfDocument
[src]
fn clone(&self) -> PdfDocument
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more