Bytescout.PDF for .NET |
Bytescout.PDF library for .NET
Applying security settings and password protection to new PDF documents generated with Bytescout.PDF library This example demonstrates how to add password
protection and set permissions for new PDF document produced
using Bytescout.PDF library 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 // add protection SecurityKeyLength._128Bit, "123", "123"); // Save document } Download example source code: bytescoutpdf_add_security_settings_for_new_pdf.zip (10 KB)
"Hello, World!" quick start step-by-step tutorials: "Hello, World!" quick start step-by-step tutorials: |
|
|
||