API Reference

Class

PdfReadOptions

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Options for controlling PDF reading/decoding behavior.

Inheritance

  • Object
  • PdfReadOptions

Usage

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

Accepted by parameters

Constructors

Properties

public static PdfReadOptions Default { get; } #

Creates default read settings with an independent limits graph.

public PdfParsingMode ParsingMode { get; set; } #

Structural parsing policy. Lenient recovery is the compatibility default and always produces a repair report.

public PdfReadLimits Limits { get; set; } #

Resource budgets for object scanning and raw stream allocation.

public String Password { get; set; } #

Password used to open encrypted PDFs. The same value is tried as user and owner password for Standard security handler files.

public PdfPermissionPolicy PermissionPolicy { get; set; } #

Controls whether authenticated user-password permission restrictions are enforced. Ignoring restrictions still requires the PDF to be successfully decrypted with a valid password.

public Boolean PreferToUnicode { get; set; } #

Prefer decoding via ToUnicode CMap when available. Default: true.

public Boolean UseWinAnsiFallback { get; set; } #

Fallback to WinAnsi (Windows-1252) when no ToUnicode is present. Default: true.

public Boolean AdjustKerningFromTJ { get; set; } #

Adjust X position using TJ kerning values (thousandths of font size). Default: true.