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

TOPIC:

Possibility of insertion handwritten signature 10 years 8 months ago #6966

  • Brognoli
  • Brognoli's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Hello,
is it possible to modify a pdf with specific placeholder for image in order to insert an handwritten signature?

The idea is to have a placeholder, and when the user selects it will be prompted an input view.
This input view allow to handwrite the signature.
Could be this the right way, is possible to realize it with the library.

Thank you in advance,
Regards.

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

Possibility of insertion handwritten signature 10 years 8 months ago #6967

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,

yes it's possible!

I suggest you to use a pdf with signature annotation box or something like that..

Then with the SDK method

annot.GetFieldType()

you can check what type of annot has been clicked, then open your view that captures the signature and do what you want!

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

Possibility of insertion handwritten signature 10 years 8 months ago #6975

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
for ink annotation, just try demo "Ink" button.
for bitmap annotation, you shall use Page.AddAnnotBitmap() to create annotation.
the second point means you need map view point to PDF point by yourself.
bitmap annotation, can't modify, but you can remove and re-crate it.
for coordinate mapping:
assume you rendered a page to a bitmap object, then:
pdf_x = (x - bmp_x) / scale;
pdf_y = (bmp_height - (y - bmp_y)) / scale;

where x, y are point clicked in the view.

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

Last edit: by .
  • Page:
  • 1
Powered by Kunena Forum