Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeContentSafetyOptions

OfficeIMO.ContentSafety

Namespace
OfficeIMO.ContentSafety
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Bounds concealment and indirect prompt-injection inspection.

Inheritance

  • object
  • OfficeContentSafetyOptions

Usage

Explore 2 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 1

Accepted by parameters 1

Constructors

public OfficeContentSafetyOptions() #

Properties

public long MaxInputBytes { get; set; } #

Maximum encoded input bytes accepted before a parser or package loader runs. Defaults to 256 MiB.

public int MaxPackageEntries { get; set; } #

Maximum ZIP package entries accepted during package preflight. Defaults to 16,384.

public long MaxExpandedPackageBytes { get; set; } #

Maximum declared uncompressed bytes accepted across a ZIP package. Defaults to 512 MiB.

public int MaxCharacters { get; set; } #

Maximum decoded characters inspected across the asset. Defaults to 16 million.

public int MaxFindings { get; set; } #

Maximum findings returned. Defaults to 4,096.

public int MaxPreviewCharacters { get; set; } #

Maximum characters retained in a finding preview. Defaults to 240.

public OfficeLength MaximumTinyFontSize { get; set; } #

Font sizes at or below this value are treated as effectively concealed. Defaults to two points.

public double MinimumVisibleContrastRatio { get; set; } #

Contrast ratios below this value are reported. Defaults to 1.25.

public bool IncludeNonPrimaryContent { get; set; } #

Whether notes, comments, metadata, alternative text, and other non-primary stories are reported.

public bool DetectInstructionLikeText { get; set; } #

Whether concealed text is checked for bounded instruction-like language.

public bool IncludeTextIntegrityEvidence { get; set; } #

Whether exact Unicode text-integrity evidence is included. Defaults to true.