Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF

TOPIC:

Bitmap annotation not added in PDF. 9 years 4 months ago #7944

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
When new version come with Bitmap annotation ?
And what i do for now?
Because number of user sent tickets for this issue.

Please Log in or Create an account to join the conversation.

Last edit: by fischer.

Bitmap annotation not added in PDF. 9 years 4 months ago #7946

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
in fact. Page.AddAnnotBitmap has no issue.
new demo just let developers to test.

Please Log in or Create an account to join the conversation.

Bitmap annotation not added in PDF. 9 years 4 months ago #7956

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
Earlier we are not able to add annotation after saving pdf.
Now we get AnnotationCount value with new annotation and also getting rectangle area when tap on Pdf.
But annotation is not visible here.

Please Log in or Create an account to join the conversation.

Bitmap annotation not added in PDF. 9 years 4 months ago #7958

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
Can we have sample code for add bitmapannotation for new library?

Please Log in or Create an account to join the conversation.

Bitmap annotation not added in PDF. 9 years 4 months ago #7961

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
in PDFReader, see methods:
PDFReader.PDFSetStamp(), which enter/leave stamp status.
PDFReader.onTouchStamp(), which treat UI events.
PDFReader.onDrawStamp(), which draw stamp status.
in stamp status, it just record all coordinates, and Bitmap objects.
and draw recorded data to screen.
when stamp status leaved, all recorded data is added to Page, and then erase all recorded data.

Please Log in or Create an account to join the conversation.

Last edit: by .

Bitmap annotation not added in PDF. 9 years 4 months ago #7965

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
These methods are not available in PDFReader(using version 3.1).

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum