Skip to main content

parse_annotation

Function parse_annotation 

Source
pub fn parse_annotation(
    resolver: &Resolver<'_>,
    pages: &[PageInfo],
    dict: &PdfDict,
) -> Option<Annotation>
Expand description

Parse a single annotation dict into a typed Annotation.

Returns None if /Rect is missing or malformed (the only strictly-required field).