Created
March 19, 2020 09:28
-
-
Save bjoerntx/48f8026a7666822149b14e02b35fdfb9 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
TXTextControl.applicationFields.add( | |
TXTextControl.ApplicationFieldFormat.MSWord, | |
"MERGEFIELD", | |
"FieldText", | |
["FieldName"], | |
af => { | |
var highlightColor = "rgba(9, 165, 2, 0.3)"; | |
var highlightMode = TXTextControl.HighlightMode.Always; | |
af.setHighlightColor(highlightColor); | |
af.setHighlightMode(highlightMode); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment