Table of Contents

Property EnforcePermissions

Namespace
DocWright.Formats.Pdf
Assembly
DocWright.Formats.Pdf.dll

EnforcePermissions

Gets or sets whether an encrypted source's permission flags are honoured.

public bool EnforcePermissions { get; set; }

Property Value

bool

Remarks

When set, a source whose /P denies both document modification and document assembly is refused with UnsupportedFeatureException. Left clear the flags stay advisory, which is the honest position: the flags are enforced by the viewer, not by the file, and whoever holds an encrypted PDF and its password holds everything needed to ignore them.