- Posts: 21
- 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
Extracting fields and Checkbox Tick Mark
- sharikakanakam
- Topic Author
- Offline
- Junior Member
-
Less
More
9 years 11 months ago #10444
by sharikakanakam
Replied by sharikakanakam on topic Extracting fields and Checkbox Tick Mark
Sure. Can I send it privately?
9 years 11 months ago #10445
by Davide
Replied by Davide on topic Extracting fields and Checkbox Tick Mark
Yes, please open a private ticket here :
www.radaeepdf.com/support/tickets
and attach your pdf.
- sharikakanakam
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
9 years 11 months ago #10446
by sharikakanakam
Replied by sharikakanakam on topic Extracting fields and Checkbox Tick Mark
This is the ticket with th pdf attached :
www.radaeepdf.com/support/tickets?view=t...ut=view&ticketid=943
www.radaeepdf.com/support/tickets?view=t...ut=view&ticketid=943
9 years 11 months ago #10447
by Davide
Replied by Davide on topic Extracting fields and Checkbox Tick Mark
Hi,
I have checked your pdf and in the 2 fields next to the word "Sign" there are no annotations!
I think you have to put a sinature annot into these boxes, because now are empty.
Then you have to check the type of annot using the methods I suggested you before.
Something like that :
I have checked your pdf and in the 2 fields next to the word "Sign" there are no annotations!
I think you have to put a sinature annot into these boxes, because now are empty.
Then you have to check the type of annot using the methods I suggested you before.
Something like that :
Code:
if(m_annot != null && m_annot.GetType() == 20 && m_annot.GetFieldType() == 4){
//handle annot
}
- sharikakanakam
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
9 years 11 months ago #10452
by sharikakanakam
Replied by sharikakanakam on topic Extracting fields and Checkbox Tick Mark
Thanks again! I managed to add a signature annotation and I was able to detect this field in the app. So my idea is to turn on the ink feature programmatically when a 'signature' field is detected. One more question on this, how can I fetch this signature object(image object) after I have signed into this field? Do you have a sample code anywhere for that?
9 years 11 months ago #10453
by Davide
Replied by Davide on topic Extracting fields and Checkbox Tick Mark
Hi,
I suggest you to save it into a bitmap and then add it to the rect coordinates of the signature field using this method:
For more info check this:
www.radaeepdf.com/documentation/javadocs...map-boolean-float:A-
I suggest you to save it into a bitmap and then add it to the rect coordinates of the signature field using this method:
Code:
page.AddAnnotBitmap(Bitmap bitmap, boolean has_alpha, float[] rect);
Time to create page: 0.376 seconds