Created
March 31, 2022 16:21
-
-
Save bjoerntx/25d73f456b31d72b36c2aa0d8d59b88c 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
string jsAction = File.ReadAllText("script.js"); | |
SaveSettings saveSettings = new SaveSettings { | |
DocumentLevelJavaScriptActions = new string[] { jsAction } | |
}; | |
textControl1.Save("test.pdf", StreamType.AdobePDF, saveSettings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment