Skip to main content

parse_annotations

Function parse_annotations 

Source
pub fn parse_annotations(
    file: &PdfFile,
    page: &PdfPage,
    acro_form: Option<&AcroForm>,
) -> Vec<Annotation>
Expand description

Parse a page’s annotations into renderable form. Unresolvable or appearance-less entries are kept (callers may want link rects later) but fail is_viewable. When an AcroForm is supplied, widget annotations gain a generated appearance where the producer left none.