|
Bytescout.PDF library for .NET
Changing security permissions of existing PDF document using Bytescout.PDF In this example Bytescout.PDF library for
.NET is used from Visual C# to Download example source code: bytescoutpdf_change_permissons_of_existing_pdf.zip (10 KB) using System; namespace HelloWorld // Create main PDF Doc Engine // Add new document // Append new page to the document // Create new drawing // Add standard font // Set Active Font // Draw Text // Closing drawing on the page document.AddProtection( SecurityKeyLength._128Bit, "123", "123"); // Save document #endregion #region processing existing PDF and remove "print high quality" permission // Add new document // check if document is protected // re-add protection with the same permissions except
"print high quality" permission // Save document #endregion } Download example source code: bytescoutpdf_change_permissons_of_existing_pdf.zip (10 KB)
"Hello, World!" quick start step-by-step tutorials: "Hello, World!" quick start step-by-step tutorials: |
|
|
Copyright © ByteScout, 2003-2010. Privacy Statement
Microsoft®, Windows®, Windows 2000®, Windows Server®, Windows Vista®, Internet Explorer®, .NET Framework®, ActiveX®, Visual Basic®, Visual C#®, ASP®, ASP.NET®, Excel®, PowerPoint®, are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe®, Flash® and Acrobat® are registered trademarks of Adobe Systems, Incorporated. Mozilla®, Firefox® and the Mozilla and Firefox Logos are registered trademarks of the Mozilla Foundation. Other product names or brandnames used herein are for identification purposes only and might be trademarks or registered trademarks of their respective companies. We disclaim any and all rights to those marks. |
|