# LegacyWordRunContent

Describes recovered character formatting without exposing parser internals.

Class 

`OfficeIMO.Word.Legacy`

**Namespace**

`OfficeIMO.Word.Legacy`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[LegacyWordContracts.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L51)

**Modifiers**

sealed

Describes recovered character formatting without exposing parser internals.

## Inheritance

- object
- LegacyWordRunContent

## 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

- Property [LegacyWordParagraphContent.Runs](/api/word/officeimo-word-legacy-legacywordparagraphcontent/#property-runs)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Text { get; }` [#](#property-text)

[LegacyWordContracts.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L51)

Gets recovered text.

`public bool Bold { get; }` [#](#property-bold)

[LegacyWordContracts.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L53)

Gets whether bold was recovered.

`public bool Italic { get; }` [#](#property-italic)

[LegacyWordContracts.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L55)

Gets whether italic was recovered.

`public bool Strikethrough { get; }` [#](#property-strikethrough)

[LegacyWordContracts.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L57)

Gets whether strike-through was recovered.

`public WordUnderlineStyle? Underline { get; }` [#](#property-underline)

[LegacyWordContracts.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L59)

Gets the recovered underline style.

`public WordVerticalTextPosition? VerticalPosition { get; }` [#](#property-verticalposition)

[LegacyWordContracts.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L61)

Gets the recovered vertical text position.

`public OfficeLength? FontSize { get; }` [#](#property-fontsize)

[LegacyWordContracts.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L63)

Gets the recovered font size.

`public string? FontFamily { get; }` [#](#property-fontfamily)

[LegacyWordContracts.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L65)

Gets the recovered font family.

`public OfficeColor? Color { get; }` [#](#property-color)

[LegacyWordContracts.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L67)

Gets the recovered RGB color.

`public int? NoteIndex { get; }` [#](#property-noteindex)

[LegacyWordContracts.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L69)

Gets an anchored note's zero-based index in [LegacyWordContent.Notes](/api/word/officeimo-word-legacy-legacywordcontent/), when this run represents a note reference.

`public LegacyWordImageContent? Image { get; }` [#](#property-image)

[LegacyWordContracts.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L71)

Gets a recovered inline image where the profile qualifies graphic recovery.

<!-- PowerForge markdown artifact sha256:5D0411A603CF30CCDE597CEBEE3F0044F3112DCC6418A6F2E53D6641C768D362 -->
