# PdfLoadOptions

Options for controlling PDF reading/decoding behavior.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[PdfLoadOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L36)

**Modifiers**

sealed

Options for controlling PDF reading/decoding behavior.

## Inheritance

- object
- PdfLoadOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Encrypt, Decrypt, and Sign PDFs](/docs/pdf/encrypt-sign/) Guide
  
  Encrypt PDFs with passwords and permissions, decrypt protected files, sign with a certificate and validate signatures with OfficeIMO.Pdf.
- [PDF tools for browsers and .NET](/pdf/) Guide
  
  Inspect, compare, organize, optimize, protect, unlock, and redact PDF files locally in your browser or through the OfficeIMO.Pdf API.
- [Unlock a password-protected PDF copy](/pdf/unlock/) Guide
  
  Remove PDF Standard password security with a valid owner password, verify the result is unencrypted, and download a separate unlocked document.

## Usage

Explore 89 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.

### Returned or exposed by 10

- Property [PdfBatesDocument.ReadOptions](/api/pdf/officeimo-pdf-pdfbatesdocument/#property-readoptions)
- Property [PdfInterleaveSource.ReadOptions](/api/pdf/officeimo-pdf-pdfinterleavesource/#property-readoptions)
- Method [PdfLoadOptions.Clone](/api/pdf/officeimo-pdf-pdfloadoptions/#method-clone)
- Property [PdfLoadOptions.UntrustedDefaults](/api/pdf/officeimo-pdf-pdfloadoptions/#property-untrusteddefaults)
- Property [PdfPageImportOptions.SourceReadOptions](/api/pdf/officeimo-pdf-pdfpageimportoptions/#property-sourcereadoptions)
- Property [PdfPageOverlayOptions.SourceReadOptions](/api/pdf/officeimo-pdf-pdfpageoverlayoptions/#property-sourcereadoptions)
- Property [PdfRewritePreservationOptions.OriginalReadOptions](/api/pdf/officeimo-pdf-pdfrewritepreservationoptions/#property-originalreadoptions)
- Property [PdfRewritePreservationOptions.RewrittenReadOptions](/api/pdf/officeimo-pdf-pdfrewritepreservationoptions/#property-rewrittenreadoptions)
- Property [PdfTextRedlineOptions.NewReadOptions](/api/pdf/officeimo-pdf-pdftextredlineoptions/#property-newreadoptions)
- Property [PdfTextRedlineOptions.OldReadOptions](/api/pdf/officeimo-pdf-pdftextredlineoptions/#property-oldreadoptions)

### Accepted by parameters 79

- Method [PdfAnnotationEditResult.ToDocument](/api/pdf/officeimo-pdf-pdfannotationeditresult/#method-todocument-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfAnnotationReviewCatalog.Read](/api/pdf/officeimo-pdf-pdfannotationreviewcatalog/#method-read-byte-officeimo-pdf-pdfloadoptions-officeimo-pdf-pdfannotationreviewcatalogoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfAnnotationReviewEditor.AddReply](/api/pdf/officeimo-pdf-pdfannotationrevieweditor/#method-addreply-byte-int32-string-officeimo-pdf-pdfannotationreplyoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfAnnotationReviewEditor.SetState](/api/pdf/officeimo-pdf-pdfannotationrevieweditor/#method-setstate-byte-int32-officeimo-pdf-pdfannotationreviewstate-officeimo-pdf-pdfmutationexecutionpreference-boolean-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfBatesDocumentResult.ToDocument](/api/pdf/officeimo-pdf-pdfbatesdocumentresult/#method-todocument-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocument.AnalyzeAppendOnlyMutation](/api/pdf/officeimo-pdf-pdfdocument/#method-analyzeappendonlymutation-officeimo-pdf-pdfloadoptions) parameter `options`
- Method [PdfDocument.AssessMutations](/api/pdf/officeimo-pdf-pdfdocument/#method-assessmutations-threading-cancellationtoken-collections-generic-ienumerable-officeimo-pdf-pdfmutationoperation-collections-generic-ienumerable-system-string-officeimo-pdf-pdfloadoptions-officeimo-pdf-pdfmutationexecutionpreference) parameter `options`
- Method [PdfDocument.AssessRenderCompatibility](/api/pdf/officeimo-pdf-pdfdocument/#method-assessrendercompatibility-officeimo-pdf-pdfloadoptions-officeimo-pdf-pdfpagerenderoptions) parameter `options`
- Method [PdfDocument.Debug](/api/pdf/officeimo-pdf-pdfdocument/#method-debug-officeimo-pdf-pdfdebuggeroptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocument.Diagnostics](/api/pdf/officeimo-pdf-pdfdocument/#method-diagnostics-officeimo-pdf-pdfloadoptions) parameter `options`
- Method [PdfDocument.GetPageLayouts](/api/pdf/officeimo-pdf-pdfdocument/#method-getpagelayouts-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocument.GetPrintablePageLayouts](/api/pdf/officeimo-pdf-pdfdocument/#method-getprintablepagelayouts-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocument.Inspect](/api/pdf/officeimo-pdf-pdfdocument/#method-inspect-officeimo-pdf-pdfloadoptions) parameter `options`
- Method [PdfDocument.InspectForViewing](/api/pdf/officeimo-pdf-pdfdocument/#method-inspectforviewing-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocument.InspectGeometryForViewing](/api/pdf/officeimo-pdf-pdfdocument/#method-inspectgeometryforviewing-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocument.Load](/api/pdf/officeimo-pdf-pdfdocument/#method-load-io-stream-officeimo-pdf-pdfloadoptions) parameter `loadOptions`
- Method [PdfDocument.LoadAsync](/api/pdf/officeimo-pdf-pdfdocument/#method-loadasync-io-stream-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `loadOptions`
- Method [PdfDocument.LoadSeekable](/api/pdf/officeimo-pdf-pdfdocument/#method-loadseekable-string-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `loadOptions`
- Method [PdfDocument.PlanMutation](/api/pdf/officeimo-pdf-pdfdocument/#method-planmutation-officeimo-pdf-pdfmutationoperation-collections-generic-ienumerable-system-string-officeimo-pdf-pdfloadoptions-officeimo-pdf-pdfmutationexecutionpreference) parameter `options`
- Method [PdfDocument.RawStructure](/api/pdf/officeimo-pdf-pdfdocument/#method-rawstructure-officeimo-pdf-pdfrawstructureoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocument.Read](/api/pdf/officeimo-pdf-pdfdocument/#method-read-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocument.ReadForInspection](/api/pdf/officeimo-pdf-pdfdocument/#method-readforinspection-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocument.RemoveSelectedContent](/api/pdf/officeimo-pdf-pdfdocument/#method-removeselectedcontent-byte-officeimo-contentsafety-officecontentcleanupselection-officeimo-contentsafety-officecontentcleanupoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentAttachments.Extract](/api/pdf/officeimo-pdf-pdfdocumentattachments/#method-extract-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentImageEditor.Add](/api/pdf/officeimo-pdf-pdfdocumentimageeditor/#method-add-officeimo-pdf-pdfpageregion-byte-officeimo-pdf-pdfimageeditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentImageEditor.Extract](/api/pdf/officeimo-pdf-pdfdocumentimageeditor/#method-extract-officeimo-officepageselector-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentImageEditor.Find](/api/pdf/officeimo-pdf-pdfdocumentimageeditor/#method-find-officeimo-pdf-pdfpageregion-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentImageEditor.Move](/api/pdf/officeimo-pdf-pdfdocumentimageeditor/#method-move-officeimo-pdf-pdfimageplacement-double-double-officeimo-pdf-pdfimageeditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentImageEditor.Placements](/api/pdf/officeimo-pdf-pdfdocumentimageeditor/#method-placements-officeimo-officepageselector-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentImageEditor.Remove](/api/pdf/officeimo-pdf-pdfdocumentimageeditor/#method-remove-officeimo-pdf-pdfimageplacement-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentImageEditor.Replace](/api/pdf/officeimo-pdf-pdfdocumentimageeditor/#method-replace-officeimo-pdf-pdfimageplacement-byte-officeimo-pdf-pdfimageeditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentImageEditor.Transform](/api/pdf/officeimo-pdf-pdfdocumentimageeditor/#method-transform-officeimo-pdf-pdfimageplacement-double-double-double-officeimo-pdf-pdfimageeditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentOptimization.Analyze](/api/pdf/officeimo-pdf-pdfdocumentoptimization/#method-analyze-officeimo-pdf-pdfloadoptions) parameter `options`
- Method [PdfDocumentProof.CompareVisual](/api/pdf/officeimo-pdf-pdfdocumentproof/#method-comparevisual-byte-officeimo-pdf-pdfpageselection-officeimo-pdf-pdfvisualcomparisonoptions-officeimo-pdf-pdfloadoptions) parameter `actualReadOptions`
- Method [PdfDocumentRedactions.Apply](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-apply-collections-generic-ienumerable-officeimo-pdf-pdfredactionarea-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocumentRedactions.ApplyWithEvidence](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-applywithevidence-officeimo-pdf-pdfredactionplan-officeimo-pdf-pdfredactionapplyoptions-officeimo-pdf-pdfredactionverificationoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocumentRedactions.Plan](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-plan-collections-generic-ienumerable-officeimo-pdf-pdfredactionregion-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocumentRedactions.PlanAnnotations](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-planannotations-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions) parameter `options`
- Method [PdfDocumentRedactions.Search](/api/pdf/officeimo-pdf-pdfdocumentredactions/#method-search-officeimo-pdf-pdfredactionsearchoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocumentRenderer.Interactions](/api/pdf/officeimo-pdf-pdfdocumentrenderer/#method-interactions-int32-officeimo-pdf-pdfpageinteractionoptions-officeimo-pdf-pdfloadoptions) parameter `loadOptions`
- Method [PdfDocumentRenderer.LayoutDebugOverlay](/api/pdf/officeimo-pdf-pdfdocumentrenderer/#method-layoutdebugoverlay-int32-officeimo-pdf-pdflayoutdebugoverlayoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions) parameter `loadOptions`
- Method [PdfDocumentRenderer.LayoutDebugOverlayPng](/api/pdf/officeimo-pdf-pdfdocumentrenderer/#method-layoutdebugoverlaypng-int32-double-officeimo-pdf-pdflayoutdebugoverlayoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions) parameter `loadOptions`
- Method [PdfDocumentResources.Fonts](/api/pdf/officeimo-pdf-pdfdocumentresources/#method-fonts-officeimo-pdf-pdffontinspectionoptions-officeimo-pdf-pdfloadoptions) parameter `loadOptions`
- Method [PdfDocumentResources.RawStructure](/api/pdf/officeimo-pdf-pdfdocumentresources/#method-rawstructure-officeimo-pdf-pdfrawstructureoptions-officeimo-pdf-pdfloadoptions) parameter `loadOptions`
- Method [PdfDocumentSecurity.ValidateSignatures](/api/pdf/officeimo-pdf-pdfdocumentsecurity/#method-validatesignatures-officeimo-pdf-pdfloadoptions) parameter `options`
- Method [PdfDocumentStamper.Content](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-content-action-officeimo-pdf-pdfpagecanvas-officeimo-pdf-pdfcanvasstampoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfDocumentStamper.Image](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-image-byte-officeimo-pdf-pdfimagestampoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfDocumentStamper.ImageWatermark](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-imagewatermark-byte-officeimo-pdf-pdfimagestampoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfDocumentStamper.OverlayPage](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-overlaypage-byte-officeimo-pdf-pdfpageoverlayoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `targetReadOptions`
- Method [PdfDocumentStamper.ReadWatermarks](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-readwatermarks-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfDocumentStamper.Text](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-text-string-officeimo-pdf-pdftextstampoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfDocumentStamper.TextWatermark](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-textwatermark-string-officeimo-pdf-pdftextstampoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfDocumentStamper.UnderlayPage](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-underlaypage-string-officeimo-pdf-pdfpageoverlayoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `targetReadOptions`
- Method [PdfDocumentStamper.Watermark](/api/pdf/officeimo-pdf-pdfdocumentstamper/#method-watermark-officeimo-pdf-pdfwatermarkoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfDocumentTextEditor.Add](/api/pdf/officeimo-pdf-pdfdocumenttexteditor/#method-add-officeimo-pdf-pdfpageregion-string-officeimo-pdf-pdftexteditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentTextEditor.Find](/api/pdf/officeimo-pdf-pdfdocumenttexteditor/#method-find-string-officeimo-pdf-pdftextsearchoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentTextEditor.Inspect](/api/pdf/officeimo-pdf-pdfdocumenttexteditor/#method-inspect-officeimo-pdf-pdfpageregion-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentTextEditor.Move](/api/pdf/officeimo-pdf-pdfdocumenttexteditor/#method-move-officeimo-pdf-pdfpageregion-double-double-officeimo-pdf-pdftexteditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentTextEditor.Replace](/api/pdf/officeimo-pdf-pdfdocumenttexteditor/#method-replace-officeimo-pdf-pdfpageregion-string-officeimo-pdf-pdftexteditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentTextEditor.ReplaceAll](/api/pdf/officeimo-pdf-pdfdocumenttexteditor/#method-replaceall-string-string-officeimo-pdf-pdftextsearchoptions-officeimo-pdf-pdftexteditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfDocumentTextEditor.ReplaceSelected](/api/pdf/officeimo-pdf-pdfdocumenttexteditor/#method-replaceselected-string-string-collections-generic-ireadonlycollection-system-int32-officeimo-pdf-pdftextsearchoptions-officeimo-pdf-pdftexteditoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfExternalSignaturePreparation.Complete](/api/pdf/officeimo-pdf-pdfexternalsignaturepreparation/#method-complete-byte-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfInterleaveResult.ToDocument](/api/pdf/officeimo-pdf-pdfinterleaveresult/#method-todocument-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfLongTermValidationEnricher.Enrich](/api/pdf/officeimo-pdf-pdflongtermvalidationenricher/#method-enrich-byte-officeimo-pdf-pdflongtermvalidationevidence-officeimo-pdf-ipdfsignaturecryptographyprovider-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfLongTermValidationEnricher.EnrichAsync](/api/pdf/officeimo-pdf-pdflongtermvalidationenricher/#method-enrichasync-byte-officeimo-pdf-pdflongtermvalidationevidence-officeimo-pdf-ipdfsignaturecryptographyprovider-func-officeimo-pdf-pdfsignaturevalidationresult-system-threading-cancellationtoken-system-threading-tasks-task-officeimo-pdf-pdflongtermvalidationevidence-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfLongTermValidationEnricher.FetchAndEnrichAsync](/api/pdf/officeimo-pdf-pdflongtermvalidationenricher/#method-fetchandenrichasync-byte-int32-officeimo-pdf-pdfcmssignaturecryptographyprovider-officeimo-security-icertificaterevocationfetcher-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfOptimizationActionResult.ToDocument](/api/pdf/officeimo-pdf-pdfoptimizationactionresult/#method-todocument-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfPageInteractionMap.Create](/api/pdf/officeimo-pdf-pdfpageinteractionmap/#method-create-byte-int32-officeimo-pdf-pdfpageinteractionoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfProductionSplitPart.ToDocument](/api/pdf/officeimo-pdf-pdfproductionsplitpart/#method-todocument-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfProvenance.Inspect](/api/pdf/officeimo-pdf-pdfprovenance/#method-inspect-byte-officeimo-provenance-officeprovenanceoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfProvenance.InspectFile](/api/pdf/officeimo-pdf-pdfprovenance/#method-inspectfile-string-officeimo-provenance-officeprovenanceoptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfProvenance.Remove](/api/pdf/officeimo-pdf-pdfprovenance/#method-remove-byte-officeimo-provenance-officeprovenanceremovaloptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfProvenance.RemoveFile](/api/pdf/officeimo-pdf-pdfprovenance/#method-removefile-string-string-officeimo-provenance-officeprovenanceremovaloptions-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfRepairArtifact.Create](/api/pdf/officeimo-pdf-pdfrepairartifact/#method-create-byte-officeimo-pdf-pdfrepairartifactoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `readOptions`
- Method [PdfRepairArtifactResult.ToDocument](/api/pdf/officeimo-pdf-pdfrepairartifactresult/#method-todocument-officeimo-pdf-pdfloadoptions) parameter `readOptions`
- Method [PdfVisualComparer.Compare](/api/pdf/officeimo-pdf-pdfvisualcomparer/#method-compare-byte-byte-officeimo-pdf-pdfpageselection-officeimo-pdf-pdfvisualcomparisonoptions-officeimo-pdf-pdfloadoptions-officeimo-pdf-pdfloadoptions) parameter `actualReadOptions`
- Method [PdfVisualComparer.Compare](/api/pdf/officeimo-pdf-pdfvisualcomparer/#method-compare-byte-byte-officeimo-pdf-pdfpageselection-officeimo-pdf-pdfvisualcomparisonoptions-officeimo-pdf-pdfloadoptions-officeimo-pdf-pdfloadoptions) parameter `expectedReadOptions`
- Method [PdfVisualComparer.ComparePages](/api/pdf/officeimo-pdf-pdfvisualcomparer/#method-comparepages-byte-int32-byte-int32-officeimo-pdf-pdfvisualcomparisonoptions-officeimo-pdf-pdfloadoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `actualReadOptions`
- Method [PdfVisualComparer.ComparePages](/api/pdf/officeimo-pdf-pdfvisualcomparer/#method-comparepages-byte-int32-byte-int32-officeimo-pdf-pdfvisualcomparisonoptions-officeimo-pdf-pdfloadoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken) parameter `expectedReadOptions`

Filter members 

Show inherited

## Constructors

`public PdfLoadOptions()` [#](#constructor-ctor)

[PdfLoadOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L36)

## Methods

Clone 2 overloads

`public PdfLoadOptions Clone()` [#](#method-clone)

[PdfLoadOptions.Snapshot.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Snapshot.cs#L5)

Snapshots all load settings and resource limits. The caller-supplied AES provider and public-key decryption options are retained.

Returns

`PdfLoadOptions`

`public PdfLoadOptions Clone(long? maximumInputBytes, string? passwordOverride)` [#](#method-clone-nullable-system-int64-string)

[PdfLoadOptions.Snapshot.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Snapshot.cs#L10)

Copies the complete policy, optionally tightening its input ceiling and overriding the open password.

Parameters

**maximumInputBytes long? required**

**passwordOverride string? required**

Returns

`PdfLoadOptions`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public static PdfLoadOptions UntrustedDefaults { get; }` [#](#property-untrusteddefaults)

[PdfLoadOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L17)

Creates strict parsing settings with bounded budgets for documents from outside. Single-object size and token count, and content operations and operands keep tighter limits here than the defaults, which are sized for valid real-world files.

`public PdfParsingMode ParsingMode { get; init; }` [#](#property-parsingmode)

[PdfLoadOptions.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L33)

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

`public PdfReadLimits Limits { get; init; }` [#](#property-limits)

[PdfLoadOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L36)

Resource budgets for object scanning and raw stream allocation.

`public string? Password { get; init; }` [#](#property-password)

[PdfLoadOptions.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L42)

Password used to open encrypted PDFs. The same value is tried as user and owner password for Standard security handler files. For Standard security revisions 5 and 6, passwords longer than 4096 UTF-16 characters are rejected before normalization.

`public IOfficeAesCryptographyProvider? AesCryptographyProvider { get; init; }` [#](#property-aescryptographyprovider)

[PdfLoadOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L47)

Optional synchronous AES provider used to open Standard-security PDFs when platform AES-CBC is unavailable.

`public PdfPublicKeyDecryptionOptions? PublicKeyDecryption { get; init; }` [#](#property-publickeydecryption)

[PdfLoadOptions.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L53)

Recipient certificates and the security provider used to open PDFs encrypted with the public-key security handler (/Filter /Adobe.PubSec, /SubFilter adbe.pkcs7.s3, s4 or s5).

`public PdfPermissionPolicy PermissionPolicy { get; init; }` [#](#property-permissionpolicy)

[PdfLoadOptions.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L59)

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

`public bool PreferToUnicode { get; init; }` [#](#property-prefertounicode)

[PdfLoadOptions.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L61)

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

`public bool UseWinAnsiFallback { get; init; }` [#](#property-usewinansifallback)

[PdfLoadOptions.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L63)

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

`public bool AdjustKerningFromTJ { get; init; }` [#](#property-adjustkerningfromtj)

[PdfLoadOptions.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L65)

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

`public bool IncludeArtifactText { get; init; }` [#](#property-includeartifacttext)

[PdfLoadOptions.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.cs#L70)

Includes text inside PDF artifact marked-content sequences, such as page headers, footers, and chart decorations. Default: false, which returns logical document text.

`public PdfReadProfile Profile { get; init; }` [#](#property-profile)

[PdfLoadOptions.Semantics.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Semantics.cs#L21)

Semantic reconstruction profile. Structured is the default public contract.

`public bool IncludeImages { get; init; }` [#](#property-includeimages)

[PdfLoadOptions.Semantics.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Semantics.cs#L25)

Includes image placements, image-region analysis and extracted image payloads. Default: true. False retains native text, including text inside Form XObjects, without materializing image assets.

`public bool IncludeFormWidgets { get; init; }` [#](#property-includeformwidgets)

[PdfLoadOptions.Semantics.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Semantics.cs#L29)

Includes logical AcroForm widget projections. Default: true. False retains bounded source field facts and values while omitting secondary widget objects.

`public bool RecoverDecodableTextForInspection { get; init; }` [#](#property-recoverdecodabletextforinspection)

[PdfLoadOptions.Semantics.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Semantics.cs#L37)

Retains decodable text on a partially unmappable page or from leading page content streams before a supported page content filter reports damaged data during [PdfDocument.ReadForInspection](/api/pdf/officeimo-pdf-pdfdocument/). The page remains incomplete. Default: false.

`public PdfPageSelection? PageSelection { get; set; }` [#](#property-pageselection)

[PdfLoadOptions.Semantics.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Semantics.cs#L40)

Optional caller-ordered page selection. Null reads every page in document order.

`public PdfTextLayoutOptions LayoutOptions { get; init; }` [#](#property-layoutoptions)

[PdfLoadOptions.Semantics.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Semantics.cs#L43)

Layout and geometry settings shared by every built-in semantic stage.

`public PdfUnderstandingPipelineOptions? Pipeline { get; init; }` [#](#property-pipeline)

[PdfLoadOptions.Semantics.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Options/PdfLoadOptions.Semantics.cs#L49)

Optional semantic-stage customization. Null selects the built-in stages for [PdfLoadOptions.Profile](/api/pdf/officeimo-pdf-pdfloadoptions/). Custom stages still run inside the canonical read engine and produce the same result contract.

<!-- PowerForge markdown artifact sha256:6A5FF89D9C6A1C5B9EB5839E0904F940247FDD4EF97BDB7046D5600C61872EFB -->
