Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EJ2-72229 : How to change the signature indicator text #12

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
commit
  • Loading branch information
SaravanaPriyaS3 committed May 15, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e1582eb48e831c3e10a85c7156a65a7413a2e12f
Original file line number Diff line number Diff line change
@@ -19,17 +19,17 @@
<script type="text/javascript">
function documentLoaded(args) {
var pdfViewer = document.getElementById('pdfviewer').ej2_instances[0];
pdfViewer.signatureFieldSettings.signatureDialogSettings = {
pdfViewer.signatureFieldSettings.signatureDialogSettings = {
displayMode: 1,
hideTypeSelection: true, // hide the signature field type selection dialogue
hideUploadSignature: true, // hide the upload signature dialogue
hideSaveSignature: true // hide the save signature dialogue
hideTypeSelection: true, // hides the typed signature tab
hideUploadSignature: true, // hides the upload signature tab
hideSaveSignature: true // hides the save signature option
};
pdfViewer.initialFieldSettings.initialDialogSettings = {
displayMode: 1,
hideTypeSelection: true, // hide the initial field type selection dialogue
hideUploadSignature: true, // hide the upload initial dialogue
hideSaveSignature: true // hide the save initial dialogue
displayMode: 1,
hideTypeSelection: true, // hides the typed initial tab
hideUploadSignature: true, // hides the upload initial option
hideSaveSignature: true // hides the save initial option
};
};
</script>
Original file line number Diff line number Diff line change
@@ -21,22 +21,22 @@
<script>
window.onload = function () {
var pdfviewer = document.getElementById('pdfviewer').ej2_instances[0];
pdfviewer.signatureFieldSettings.signatureIndicatorSettings = {
pdfviewer.signatureFieldSettings.signatureIndicatorSettings = {
opacity: 1,
backgroundColor: 'orange',
width: 19,
backgroundColor: 'cyan',
width: 50,
height: 10,
fontSize: 12,
text: "Your Text Here",
fontSize: 15,
text: "Signature Indicator",
color: 'blue'
};
pdfviewer.initialFieldSettings.initialIndicatorSettings = {
opacity: 1,
backgroundColor: 'orange',
backgroundColor: 'yellow',
width: 19,
height: 10,
fontSize: 12,
text: "Your Text Here",
height: 5,
fontSize: 5,
text: "Initial Indicator",
color: 'blue'
};
}