API Reference

Class

PdfSanitizationOptions

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Explicit policy for removing active content and embedded payloads from a PDF.

Inheritance

  • Object
  • PdfSanitizationOptions

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 ISet<String> AllowedActionTypes { get; } #

Action types that may remain. Values are PDF action names without a leading slash.

public ISet<String> AllowedUriSchemes { get; } #

Absolute URI schemes that may remain. Relative URI targets are preserved.

public PdfEmbeddedFileSanitizationMode EmbeddedFiles { get; set; } #

How embedded and associated files are removed. Defaults to removal without retaining payload bytes.

public Boolean RemoveRichMedia { get; set; } #

When true, rich-media and payload-bearing annotations are removed from page annotation arrays.