Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ReaderPdfOptions

OfficeIMO.Reader.Pdf

Namespace
OfficeIMO.Reader.Pdf
Assembly
OfficeIMO.Reader.Pdf
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Options for PDF ingestion through the OfficeIMO.Reader adapter.

Inheritance

  • object
  • ReaderPdfOptions

Usage

Explore 4 API references to this type

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

Accepted by parameters 2

Constructors

public ReaderPdfOptions() #

Methods

public ReaderPdfOptions Clone() #

Creates a defensive copy for handler registration reuse.

public static ReaderPdfOptions CreateOfficeIMOProfile() #

Creates the default PDF reader profile with page-level chunks and wrapper-friendly Markdown.

Properties

public string? Password { get; set; } #

Optional password used locally to open an encrypted PDF. It is not included in extracted content or metadata.

public PdfLoadOptions? LoadOptions { get; set; } #

Full canonical parser, security and stream budgets. Registration and each read snapshot these settings. ReaderOptions.MaxInputBytes further restricts the input limit; Password overrides this password when non-null.

public PdfLoadOptions? ReadOptions { get; set; } #

Canonical semantic read settings. Null uses PdfLoadOptions. When the adapter receives an already reconstructed PDF result, only its page selection is applied.

public PdfLogicalMarkdownOptions? MarkdownOptions { get; set; } #

Markdown rendering options used for page chunk content.

public bool IncludeParagraphContinuationMetadata { get; set; } #

When true, projects conservative cross-page paragraph continuation evidence into document metadata. Page-local text and chunks remain unchanged. Default: true.

public PdfLogicalParagraphContinuationOptions? ParagraphContinuationOptions { get; set; } #

Optional confidence and soft-hyphen policy for paragraph continuation metadata.

public bool ChunkByPage { get; set; } #

When true, emits one or more chunks per logical source page. Default: true.

public bool IncludeMixedPageOcrCandidates { get; set; } #

Includes substantial image content on pages that also contain native text in OCR candidate discovery. Default: false. A candidate is a review signal, not proof that an image contains text.

public double MinimumMixedPageImageAreaRatio { get; set; } #

Minimum combined visible image area as a fraction of page area for mixed-page OCR candidates. Defaults to 0.25. Zero considers every mixed image page; values must be finite and between zero and one.