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

TOPIC:

Signature Annotation - SetFillColor 3 years 3 months ago #15386

  • omer.c
  • omer.c's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi,
Was wondering if there is a way to change signature annotation fiil color, as when I call SetFillColor for other annotations it works, but with signature it seemed to be ignored (also SetFillColor function returns false in signature annotation case, as if it is failed).

Thanks for the help

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

Signature Annotation - SetFillColor 3 years 3 months ago #15387

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
Dear user:
the empty signature blue color is set by com.radaee.pdf.Global.setAnnotTransparency(); when app start.
if pass 0 as parameter, all transparency color over annotation will be gone.

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

Last edit: by radaee.

Signature Annotation - SetFillColor 3 years 3 months ago #15388

  • omer.c
  • omer.c's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Yeah I understood that, problem is that it is for every annotation and I want to distinguish signature annotation from the others.
also when I am calling setFillColor for other annotation with color of transparent for example, this transparency color is still making it blue. If I set setAnnotTransparency with transparent color then I wont be able to change signature fill color. Any suggestions?

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

Signature Annotation - SetFillColor 3 years 3 months ago #15389

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
Dear user:

if you want change color of a special signature field:
the signature field displayed on page is like canvas, it can be any drawing contents for signature.
maybe strokes, maybe images, so, you can't change fill color directly for signature field.
if you want change signature field displayed contents, you have to replace drawing content for this field.
that mean, you may need rewrite drawing contents by method Annotation.SetIcon("", DocForm);
but this operation may cause failed when signature field is already signed.

if you think signature field shall display transparency color different than all other type of annotations:
example: you want display red color for all signature fields. we not support this type customize yet. but, if you has a new idea, please tell us.

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

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