pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject Re: insert text at cursor annotation
Date Wed, 13 Mar 2019 09:46:27 GMT
Never mind this

i got it to work. must have used an old version of pdfbox too because the
old version accepted this line

new PDAnnotationMarkup(PDAnnotation.SUB_TYPE_CARET);

whereas the new version accepts a COSDictionary as parameter. and i used
the COSDictionary to populate the properties

On Wed, Mar 13, 2019 at 1:55 AM Tilman Hausherr <THausherr@t-online.de>
wrote:

> Am 12.03.2019 um 16:23 schrieb chitgoks:
> > hi. i am currently working on this kind of annotation
> >
> > what kind of class do i use? PDAnnotationMarkup?
> >
> > I figure it would be just like this
> >
> > PDAnnotationMarkup pd = new
> > PDAnnotationMarkup(PDAnnotation.SUB_TYPE_CARET);
> > pd.setLocation(rectangle).
> > pd.setPage(page);
> >
> > but it does not show
> >
> > this is the data i got
>
> Nothing to see here... upload to a sharehoster
>
> Also add the color.
>
> Tilman
>
>
>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> > For additional commands, e-mail: users-help@pdfbox.apache.org
>
>
>

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