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 <[email protected]>
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: [email protected]
> > For additional commands, e-mail: [email protected]
>
>
>

Reply via email to