Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordRunInfo

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Extracted text, character formatting, links, notes, and images for one Word run.

Inheritance

  • object
  • WordRunInfo

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

Constructors

public WordRunInfo() #

Properties

public string Text { get; internal set; } #

Gets text extracted from the run, including text hidden by run formatting.

public bool Bold { get; internal set; } #

Gets whether bold formatting is authored directly on the run.

public bool Italic { get; internal set; } #

Gets whether italic formatting is authored directly on the run.

public bool Underline { get; internal set; } #

Gets whether underline formatting is authored directly on the run.

public WordUnderlineStyle? UnderlineStyle { get; internal set; } #

Gets the authored underline style.

public bool Strike { get; internal set; } #

Gets whether single or double strikethrough is authored directly on the run.

public bool DoubleStrike { get; internal set; } #

Gets whether double strikethrough is authored directly on the run.

public OfficeLength? FontSize { get; internal set; } #

Gets the directly authored run font size with Word's native half-point precision.

public string? FontFamily { get; internal set; } #

Gets the font family authored directly on the run, without resolving inherited styles.

public OfficeColor? Color { get; internal set; } #

Gets the text color authored directly on the run; automatic color reads as null.

public string? HighlightColor { get; internal set; } #

Gets the named Word highlight color.

public OfficeColor? BackgroundColor { get; internal set; } #

Gets the background (run-shading fill) color authored directly on the run.

public WordShadingPattern? RunShadingPattern { get; internal set; } #

Run shading pattern, when explicitly authored.

public string? VerticalTextAlignment { get; internal set; } #

Gets vertical alignment such as superscript or subscript.

public string? CapsStyle { get; internal set; } #

Gets capitalization formatting such as caps or small caps.

public string? HyperlinkUri { get; internal set; } #

Gets the external hyperlink URI.

public string? HyperlinkAnchor { get; internal set; } #

Gets the internal bookmark target.

public WordFootnoteInfo? Footnote { get; internal set; } #

Gets the referenced footnote content.

public WordEndnoteInfo? Endnote { get; internal set; } #

Gets the referenced endnote content.

public WordInlineImageInfo? InlineImage { get; internal set; } #

Gets the first inline or positioned image encountered in the run.