Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeContentSafetyOptions

Namespace OfficeIMO.ContentSafety
Assembly OfficeIMO.Core
Modifiers sealed

Bounds concealment and indirect prompt-injection inspection.

Inheritance

  • Object
  • OfficeContentSafetyOptions

Usage

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

Constructors

Properties

public Int64 MaxInputBytes { get; set; } #

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

public Int32 MaxPackageEntries { get; set; } #

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

public Int64 MaxExpandedPackageBytes { get; set; } #

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

public Int32 MaxCharacters { get; set; } #

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

public Int32 MaxFindings { get; set; } #

Maximum findings returned. Defaults to 4,096.

public Int32 MaxPreviewCharacters { get; set; } #

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

public Double MaximumTinyFontSizePoints { 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 Boolean IncludeNonPrimaryContent { get; set; } #

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

public Boolean DetectInstructionLikeText { get; set; } #

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

public Boolean IncludeTextIntegrityEvidence { get; set; } #

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