Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created March 19, 2020 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/a317f625a6c319750d30463140511b57 to your computer and use it in GitHub Desktop.
Save bjoerntx/a317f625a6c319750d30463140511b57 to your computer and use it in GitHub Desktop.
var mergeField = new TXTextControl.MergeField();
mergeField.name = "company";
mergeField.text = "«company»";
mergeField.numericFormat = "$#,###.00"
TXTextControl.addMergeField(mergeField);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment