Created
June 7, 2024 11:31
-
-
Save bjoerntx/b6d999072c9c129f4cd16ae5d01dba71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addPrintButton() { | |
var b = this.addField('printButton', 'button', 0, [72, 720, 300, 750]); | |
b.setAction('MouseUp', 'this.print();'); | |
b.buttonSetCaption('Print Document'); | |
b.fillColor = color.red; | |
b.borderStyle = border.s; | |
b.textColor = color.white; | |
b.strokeColor = color.black; | |
b.highlight = highlight.push; | |
b.lineWidth = 2; | |
b.textSize = 12; | |
b.textFont = font.Helv; | |
} | |
addPrintButton(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment