Adding annotations to a pdf

pianoslum <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
Dear all,

using reportlab in python, I manged to print a text and export this to a 
new pdf:
canvas.drawString(10, 100, "Hello world")

However, I didn't manage to add an annotation. I tried

canvas.highlightAnnotation("TEST", Rect=[1, 1, 1, 1], relative=1)

which didn't raise an error, however evince cannot parse the resulting 
pdf file.
Am I doing something wrong? The docu of the related functions is very 
sparse, so I would appreciate any help.

Cheers!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.