- 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
10 years 5 months ago #10482
by sharikakanakam
Replied by sharikakanakam on topic Extracting fields and Checkbox Tick Mark
Along with the above I have one more issue. Once the signature is set there. and when I tap the annot again I expect to get the view appear again to enable the user to clear the signature or modify the signature. But once the signature is set, when I tap it again the GetFieldType is returning 0 and GetFieldName is null. I show the custom view to enter signature only if the GetFIeldType is 4. I dont understant why the field is getting set to type 0 once the bitmap is added to the annot. Please provide some insight into this.
- sharikakanakam
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
10 years 5 months ago #10493
by sharikakanakam
Replied by sharikakanakam on topic Extracting fields and Checkbox Tick Mark
I hope someone will respond to our query soon. The two issues I face are :
1. The signature after being set to the field doesnt appear unless I go and tap the annotation one more time.
2. Once the signature is set, user cannot tap the field again and makke the view pop up to clear or modify the signature.
1. The signature after being set to the field doesnt appear unless I go and tap the annotation one more time.
2. Once the signature is set, user cannot tap the field again and makke the view pop up to clear or modify the signature.
10 years 5 months ago #10494
by Davide
Replied by Davide on topic Extracting fields and Checkbox Tick Mark
Hi,
please try to call:
or
With the second method the pdf will be zoomed out.
please try to call:
Code:
invalidate();
Code:
m_vPDF.PDFSetScale(0);
With the second method the pdf will be zoomed out.
10 years 5 months ago - 10 years 5 months ago #10495
by Davide
Replied by Davide on topic Extracting fields and Checkbox Tick Mark
Hi,
regarding the second question : you have added an annot bitmap over your signature annotation, so the annot.GetType() method will return you the annot on the top --> bitmap annot (I think GetType == 13)
regarding the second question : you have added an annot bitmap over your signature annotation, so the annot.GetType() method will return you the annot on the top --> bitmap annot (I think GetType == 13)
Last edit: 10 years 5 months ago by Davide.
- sharikakanakam
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
10 years 5 months ago #10496
by sharikakanakam
Replied by sharikakanakam on topic Extracting fields and Checkbox Tick Mark
Understood. But when I tap on the annotation second time its returning GetFieldType as 0 . the border is getting highlighted, meaning there is a field, but when I tap on it, the field seems to be like a null field. What may be the reason for this?
10 years 5 months ago #10497
by Davide
Replied by Davide on topic Extracting fields and Checkbox Tick Mark
Hi,
please check GetType not GetFieldType.
GetFieldType is used to get annotation field type in acroForm, but the last annot you added is a bitmap annot.
For more info about GetType : www.radaeepdf.com/documentation/javadocs...ation.html#GetType--
For more info about GetFieldType: www.radaeepdf.com/documentation/javadocs....html#GetFieldType--
please check GetType not GetFieldType.
GetFieldType is used to get annotation field type in acroForm, but the last annot you added is a bitmap annot.
For more info about GetType : www.radaeepdf.com/documentation/javadocs...ation.html#GetType--
For more info about GetFieldType: www.radaeepdf.com/documentation/javadocs....html#GetFieldType--
Time to create page: 0.385 seconds