Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlSemanticRun

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Editable rich-text run shared by native adapters.

Inheritance

  • object
  • HtmlSemanticRun

Usage

Explore 3 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.

Properties

public string Text { get; } #

Run text.

public bool Bold { get; } #

Whether the run is bold.

public bool Italic { get; } #

Whether the run is italic.

public bool Underline { get; } #

Whether the run is underlined.

public OfficeTextDecorationStyle UnderlineStyle { get; } #

Resolved underline pattern for targets that expose more than a Boolean underline flag.

public bool Strikethrough { get; } #

Whether the run is struck through.

public OfficeTextDecorationStyle StrikethroughStyle { get; } #

Resolved strike-through pattern for targets that expose more than a Boolean strike flag.

public bool Superscript { get; } #

Whether the run is superscript.

public bool Subscript { get; } #

Whether the run is subscript.

public OfficeTextBaseline Baseline { get; } #

Resolved run baseline.

public HtmlComputedStyle? Style { get; } #

Computed style snapshot.

public HtmlSemanticSourceLocation? SourceLocation { get; } #

Source provenance.

public bool IsLineBreak { get; } #

Whether this run represents an explicit HTML line break.

public IReadOnlyDictionary<string, string> DataAttributes { get; } #

Trusted converter metadata attached to the source run, keyed by normalized data-* attribute name.

public string? BackgroundColor { get; } #

Nearest effective nontransparent inline background color, suitable for native text highlighting.