- Posts: 1
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Possibility of insertion handwritten signature
IP: 192.168.0.71
11 years 7 months ago #6966
by Brognoli
Possibility of insertion handwritten signature was created by Brognoli
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.
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.
IP: 192.168.0.156
11 years 7 months ago #6967
by Davide
Replied by Davide on topic Possibility of insertion handwritten signature
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
you can check what type of annot has been clicked, then open your view that captures the signature and do what you want!
yes it's possible!
I suggest you to use a pdf with signature annotation box or something like that..
Then with the SDK method
Code:
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!
IP: 192.168.0.71
11 years 7 months ago - 11 years 7 months ago #6975
by radaee
Replied by radaee on topic Possibility of insertion handwritten signature
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.
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.
Last edit: 11 years 7 months ago by .
Time to create page: 0.500 seconds