Skip to main content

Module builder

Module builder 

Source
Expand description

Annotation builder for creating PDF annotations via lopdf.

Provides AnnotationBuilder for constructing annotation dictionaries with appearance streams and adding them to a PDF document.

Structs§

AnnotRect
PDF annotation rectangle in user-space coordinates.
AnnotationBuilder
Builder for creating a PDF annotation and adding it to a document.

Enums§

AnnotSubtype
The annotation subtype to create.
LineEnding
Line ending style for Line annotations (ISO 32000-2 Table 179).
StampName
Standard stamp names per ISO 32000-2 §12.5.6.12.
TextIcon
Standard icon names for Text (sticky note) annotations.

Functions§

add_annotation_to_page
Add an annotation reference to a page’s /Annots array.