Skip to main content

write_text_layer

Function write_text_layer 

Source
pub fn write_text_layer(
    input: impl AsRef<Path>,
    pages: &[ParsedPage],
    output: impl AsRef<Path>,
    options: &Options,
) -> Result<Stats, Error>
Expand description

Draw a text layer onto the PDF at input and save it to output.

output is overwritten if it exists. Nothing is written when the input cannot be read.