Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created May 27, 2019 08:23
Show Gist options
  • Save bjoerntx/182c698d32e05e4f3d67d72cc19df7fb to your computer and use it in GitHub Desktop.
Save bjoerntx/182c698d32e05e4f3d67d72cc19df7fb to your computer and use it in GitHub Desktop.
SaveSettings saveSettings = new SaveSettings()
{
MasterPassword = "Master",
UserPassword = "User",
DocumentAccessPermissions =
DocumentAccessPermissions.AllowLowLevelPrinting |
DocumentAccessPermissions.AllowExtractContents
};
textControl1.Save(StreamType.AdobePDF, saveSettings);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment