Table of Contents

Class PdfReadOptions

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

Options that govern how a PDF is opened.

public sealed class PdfReadOptions
Inheritance
PdfReadOptions
Inherited Members

Remarks

A sealed option bag rather than parameters, so the surface can grow — 29b's password and optional-content configuration arrive here — without a new overload per addition, which is the pattern the rest of DocWright uses for the same reason.

Constructors

PdfReadOptions()

Properties

Diagnostics

Gets or sets the sink that receives diagnostics, or null to discard them.

EnforcePermissions

Gets or sets a value indicating whether permission flags in an encrypted PDF are enforced against the caller. Default: false.

Limits

Gets or sets the resource limits applied while reading, or null for the defaults.

Password

Gets or sets the password used to open an encrypted PDF, or null.

StrictMode

Gets or sets a value indicating whether structural damage aborts the read rather than being recovered from. Default: false.