Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created October 28, 2024 15:55
Show Gist options
  • Save bjoerntx/a83a22aea544c6e186b6dab0f90bdca2 to your computer and use it in GitHub Desktop.
Save bjoerntx/a83a22aea544c6e186b6dab0f90bdca2 to your computer and use it in GitHub Desktop.
using TXTextControl;
using (ServerTextControl tx = new ServerTextControl()) {
tx.Create();
// Load an encrypted document protected with a password
tx.Load("encrypted-document.tx", StreamType.InternalUnicodeFormat);
tx.Save("results.pdf", StreamType.AdobePDF);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment