Skip to main content

export_pdf_annotations_to_xfdf

Function export_pdf_annotations_to_xfdf 

Source
pub fn export_pdf_annotations_to_xfdf(
    input_pdf: impl AsRef<Path>,
    output_xfdf: impl AsRef<Path>,
) -> Result<()>
Expand description

把 PDF 里的注释直接导出成一个标准 XFDF 文件。

§示例

use pdfxml::export_pdf_annotations_to_xfdf;

export_pdf_annotations_to_xfdf("annotated.pdf", "exported.xfdf")?;