Skip to content

How to create annotations #14

@cycomanic

Description

@cycomanic

Hi,

I'm trying to add an highlightannotation to a document, but I am completely stuck. It is unclear to me how to even create a highlightannotation. If I do

ann = popplerqt4.Poppler.HighlightAnnotation()

I get a type error.

TypeError: popplerqt4.HighlightAnnotation cannot be instantiated or sub-classed

I also can not find the addAnnotation method for a page.

popplerqt4.version()
Out[57]: (0, 24, 0)
In [58]: popplerqt4.poppler_version()
Out[58]: (0, 33, 0)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions