Table of Contents

Class PdfPermissions

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Class for a user permissions of PDF document.

public sealed class PdfPermissions
Inheritance
PdfPermissions
Inherited Members

Remarks

The Encrypt PDF documents in C# and VB.NET article describes how to encrypt PDF documents.

Check out the other articles and code samples on the Passwords page.

Constructors

PdfPermissions()

Creates a new permissions object.

Properties

AllowEverything

Gets or sets a value indicating whether user is allowed to make any changes to document.

AssembleDocument

Gets or sets a value indicating whether user is allowed to assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images).

CopyContents

Gets or sets a value indicating whether user is allowed to copy or otherwise extract text and graphics from the document.

ExtractContents

Gets or sets a value indicating whether user is allowed to extract text and graphics (in support of accessibility to users with disabilities or for other purposes).

FillFormFields

Gets or sets a value indicating whether user is allowed to fill in existing interactive form fields (including signature fields).

Flags

Gets or sets the permissions as bit flags.

IsOwner

Gets a value indicating whether full (owner) access to the document is allowed.

ModifyAnnotations

Gets or sets a value indicating whether user is allowed to add or modify text annotations and fill in interactive form fields.

ModifyContents

Gets or sets a value indicating whether user is allowed to modify the contents of the document.

PrintDocument

Gets or sets a value indicating whether user is allowed to print document.

PrintFaithfulCopy

Gets or sets a value indicating whether user is allowed to print the document to a representation from which a faithful digital copy of the PDF content could be generated.

Methods

ToString()

Returns a string that represents this PdfPermissions instance.