API Reference

Enum

PdfPermissionPolicy

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls how authenticated PDF Standard-security permission restrictions are handled.

Inheritance

  • Enum
  • PdfPermissionPolicy

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const PdfPermissionPolicy Enforce #

Enforces the permission bits associated with user-password authorization.

Value: 0
public const PdfPermissionPolicy IgnoreRestrictions #

Ignores authenticated user-password permission restrictions after the PDF has been successfully decrypted. This does not discover, bypass, or crack an unknown document-open password.

Value: 1