Skip to main content

page_count

Function page_count 

Source
pub fn page_count(
    bytes: &[u8],
    password: Option<&str>,
) -> Result<usize, PdfError>
Expand description

Number of pages in a PDF, without converting anything — what the CLI batch mode prints in its per-document start line.