Created
August 18, 2020 10:17
-
-
Save bjoerntx/7cb09904ef791f02332d222090510533 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 InsertTextFrame(name) { | |
TXTextControl.textFrames.addAnchored( | |
{ width: 3000, height: 2000 }, | |
TXTextControl.HorizontalAlignment.Center, | |
0, // TextPosition | |
TXTextControl.TextFrameInsertionMode.AboveTheText, | |
(addedTextFrame) => { | |
addedTextFrame.selection.setText("Signature Box"); | |
addedTextFrame.setBackColor("LightGrey"); | |
addedTextFrame.setName("txsign"); | |
} | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment