API Reference

Class

PdfSanitizationResult

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Sanitized PDF bytes plus before/after proof and optional quarantined attachments.

Inheritance

  • Object
  • PdfSanitizationResult

Usage

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

Returned or exposed by

Methods

public Byte[] ToBytes() #
Returns: Byte[]

Returns a defensive copy of the sanitized PDF bytes.

public PdfDocument ToDocument() #
Returns: PdfDocument

Opens the sanitized artifact as a fluent PDF document.

Properties

public PdfMutationPlan MutationPlan { get; } #

Shared mutation plan used for the full rewrite.

public IReadOnlyList<PdfSanitizationFinding> RemovedFindings { get; } #

Unsafe items present before the rewrite and removed by policy.

public IReadOnlyList<PdfSanitizationFinding> RemainingFindings { get; } #

Forbidden items found after save. A successful operation always returns an empty list.

public IReadOnlyList<PdfExtractedAttachment> QuarantinedAttachments { get; } #

Decoded attachments retained in memory when quarantine mode was requested.

public Boolean IsSanitized { get; } #

True when post-save inventory proves that no forbidden item remains.