Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeAccessibilityFinding

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

One stable, machine-readable accessibility finding in a Word or PowerPoint document.

Inheritance

  • object
  • OfficeAccessibilityFinding

Usage

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

Methods

public override string ToString() #

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Properties

public OfficeAccessibilitySeverity Severity { get; } #

Finding severity.

public string Code { get; } #

Stable diagnostic code suitable for CI policies. Word and PowerPoint use the same code for the same rule.

public string Message { get; } #

Human-readable explanation.

public string Location { get; } #

Where the finding is, such as Document, Paragraph 12, Table 2 or Slide 3.

public int? LocationIndex { get; } #

Zero-based index of the paragraph (Word) or slide (PowerPoint) the finding belongs to, when it has one.

public uint? ObjectId { get; } #

Drawing object identifier of the affected image, shape, chart or table, when applicable.

public string? ObjectName { get; } #

Name of the affected image, shape, chart or table, when applicable.

public bool IsHeuristic { get; } #

Whether the finding comes from a heuristic, such as guessing that a table is used for layout.

public double? MeasuredValue { get; } #

Measured value, such as a contrast ratio.

public double? RequiredValue { get; } #

Value the policy requires.