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

TOPIC:

Extracting fields and Checkbox Tick Mark 8 years 2 weeks ago #10444

  • sharikakanakam
  • sharikakanakam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Sure. Can I send it privately?

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

Extracting fields and Checkbox Tick Mark 8 years 2 weeks ago #10445

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Yes, please open a private ticket here : www.radaeepdf.com/support/tickets and attach your pdf.

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

Extracting fields and Checkbox Tick Mark 8 years 2 weeks ago #10446

  • sharikakanakam
  • sharikakanakam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
This is the ticket with th pdf attached :

www.radaeepdf.com/support/tickets?view=t...ut=view&ticketid=943

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

Extracting fields and Checkbox Tick Mark 8 years 2 weeks ago #10447

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
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 :
if(m_annot != null && m_annot.GetType() == 20 && m_annot.GetFieldType() == 4){
	//handle annot
}

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

Extracting fields and Checkbox Tick Mark 8 years 2 weeks ago #10452

  • sharikakanakam
  • sharikakanakam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
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?

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

Extracting fields and Checkbox Tick Mark 8 years 2 weeks ago #10453

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
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:
page.AddAnnotBitmap(Bitmap bitmap, boolean has_alpha, float[] rect);
For more info check this: www.radaeepdf.com/documentation/javadocs...map-boolean-float:A-

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

Powered by Kunena Forum