Hi,
When adding a signature box, I don't know how to translate the word "Sign" (in my case to Spanish). How can I do it?
Thank you very much!
Hi Pere,
We were able to reproduce the reported issue "Localization of Sign text is missing in the Spanish culture". We will validate it and update further details in two business days on October 27, 2022.
Regards,
CCM Karthik
Hi Pere,
We have already exposed the public API to customize the initial/signature field indicator. So, We have shared the workaround sample to resolve the reported issue.
Code Snippet:
|
viewer.signatureFieldSettings.signatureIndicatorSettings.text ="señal";
|
Sample: https://stackblitz.com/edit/9vwxwv?file=index.js
Documentation: https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer/signatureIndicatorSettingsModel/#text
Please let us know if you have any concerns.
Regards,
CCM Karthik
Perfect! thank you very much!
Hi,
I think the fontSize property doesn't work:
viewer.signatureFieldSettings.signatureIndicatorSettings.fontSize = 20;
Sample: https://stackblitz.com/edit/9vwxwv-pxpgkb?file=index.js
It is always the same font size.
Am I doing something wrong?
Hi Pere,
We have set the indicator font size based on the indicator height. The indicator height is based on the signature field height. The default value for the signature field height is 63. Kindly refer the below calculation,
|
signatureFieldIndicatorHeight = viewer.signatureFieldSettings.signatureIndicatorSettings.height
signatureIndicatorFontSize = viewer.signatureFieldSettings.signatureIndicatorSettings.fontSize
actualSignatureIndicatorFontSize = signatureIndicatorFontSize > actualSignatureIndicatorHeight/2 ? 10 : signatureIndicatorFontSize |
Sample: https://stackblitz.com/edit/9vwxwv-8f4tcl?file=index.js,index.html
Please let us know if you have any concerns on this.
Regards,
CCM Karthik
Ok, thank you!
Hi Pere,
Thanks for the update. We are closing this ticket now, Kindly re-open this ticket, if you have any concerns on this.
Regards,
CCM Karthik