Skip to main content

parse_annotations

Function parse_annotations 

Source
pub fn parse_annotations<S: PdfSource>(
    annots_obj: &Object,
    store: &ObjectStore<S>,
) -> DocResult<Vec<Annotation>>
Expand description

Parse all annotations from a page’s /Annots array.

The annots_obj should be the value of the /Annots key from the page dictionary — either a direct array or an indirect reference to one.