# WordFormattedRun

Represents a run of text or an image with its reader-facing formatting.

Struct 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[WordFormattedRun.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L7)

**Base**

`ValueType`

**Modifiers**

sealed

Represents a run of text or an image with its reader-facing formatting.

## Inheritance

- ValueType
- WordFormattedRun

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

- Method [WordParagraph.GetFormattedRuns](/api/word/officeimo-word-wordparagraph/#method-getformattedruns)

Filter members 

Show inherited

## Inherited Methods

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

Inherited from ValueType

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from ValueType

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from ValueType

Returns

`string?`

## Properties

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

[WordFormattedRun.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L7)

Text content of the run, if any.

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

[WordFormattedRun.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L10)

Embedded image for the run, when present.

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

[WordFormattedRun.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L13)

Indicates whether bold formatting is applied.

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

[WordFormattedRun.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L16)

Indicates whether italic formatting is applied.

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

[WordFormattedRun.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L19)

Indicates whether underline formatting is applied.

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

[WordFormattedRun.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L22)

Indicates whether strike-through formatting is applied.

`public bool Superscript { get; }` [#](#property-superscript)

[WordFormattedRun.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L25)

Indicates whether superscript formatting is applied.

`public bool Subscript { get; }` [#](#property-subscript)

[WordFormattedRun.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L28)

Indicates whether subscript formatting is applied.

`public bool Code { get; }` [#](#property-code)

[WordFormattedRun.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L31)

Indicates whether the run should be rendered with monospace formatting.

`public string? Hyperlink { get; }` [#](#property-hyperlink)

[WordFormattedRun.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/WordFormattedRun.cs#L34)

Hyperlink target associated with the run.

<!-- PowerForge markdown artifact sha256:2E81815B68E6D944F03ADD6A320D28799EB7B3CD171E01FFD8D698B84BA89B85 -->
