API Reference
OfficeContentSafetyOptions
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.
Returned or exposed by
- Property OfficeContentCleanupOptions.Inspection
- Property OfficeContentSafetyBuilder.Options
Accepted by parameters
- Constructor OfficeContentSafetyBuilder.OfficeContentSafetyBuilder
- Method OfficeContentSafetyInputGuard.ReadAllBytes
- Method OfficeContentSafetyInputGuard.ReadAllBytes
- Method OfficeContentSafetyInputGuard.ReadUtf8Text
- Method OfficeContentSafetyInputGuard.ValidateBytes
- Method OfficeContentSafetyInputGuard.ValidateText
- Method OfficeSvgDrawingReader.InspectContentSafety
- Method OfficeSvgDrawingReader.InspectContentSafety
Constructors
public OfficeContentSafetyOptions() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.