pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject freetext, drawing, polygon annotation
Date Mon, 06 Mar 2017 06:56:14 GMT
hi.

would like to ask if anyone has successfully created these types of
annotation?

please share your sample code.

searching through google did not yield any results regarding sample code on
PDAnnotationMarkup.

so I pass this as the parameter of the constructor for a drawing annotation

COSDictionary dict = new COSDictionary();
dict.setItem(COSName.SUBTYPE, COSName.INKLIST);

then im stuck because there is no method to set the points. please advise?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message