API Reference

Enum

PdfSanitizationContentKind

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed
Attributes
Flags

Selectable document-content categories understood by the PDF sanitization engine.

Inheritance

  • Enum
  • PdfSanitizationContentKind

Usage

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

Accepted by parameters

Values

public const PdfSanitizationContentKind None #

Do not select any document-content category.

Value: 0
public const PdfSanitizationContentKind UserMetadata #

User-authored Info fields and the catalog XMP metadata packet.

Value: 1
public const PdfSanitizationContentKind EmbeddedFiles #

Embedded and associated file attachments.

Value: 2
public const PdfSanitizationContentKind Actions #

JavaScript, URI, launch, submit, remote-navigation, and other selected actions.

Value: 4
public const PdfSanitizationContentKind CommentsAndMarkup #

Comment and markup annotations, excluding Link, Widget, and FileAttachment annotations.

Value: 8
public const PdfSanitizationContentKind Bookmarks #

The document outline/bookmark tree.

Value: 16
public const PdfSanitizationContentKind OptionalContent #

Optional-content layer definitions and associations.

Value: 32
public const PdfSanitizationContentKind All #

Every selectable before-sharing category.

Value: 63