# RtfRun

Text run with character-level formatting.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfRun.cs:148](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L148)

**Implements**

`IRtfCloneable` `IRtfInline`

**Modifiers**

sealed

Text run with character-level formatting.

## Inheritance

- object
- RtfRun

## Usage

Explore 43 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 42

- Method [RtfDocument.ResolveRunFormatting](/api/rtf/officeimo-rtf-rtfdocument/#method-resolverunformatting-officeimo-rtf-rtfparagraph-officeimo-rtf-rtfrun)
- Method [RtfField.AddText](/api/rtf/officeimo-rtf-rtffield/#method-addtext-string)
- Method [RtfParagraph.AddAnnotation](/api/rtf/officeimo-rtf-rtfparagraph/#method-addannotation-string-string)
- Method [RtfParagraph.AddEndnote](/api/rtf/officeimo-rtf-rtfparagraph/#method-addendnote-string-string)
- Method [RtfParagraph.AddFootnote](/api/rtf/officeimo-rtf-rtfparagraph/#method-addfootnote-string-string)
- Method [RtfParagraph.AddText](/api/rtf/officeimo-rtf-rtfparagraph/#method-addtext-string)
- Property [RtfParagraph.Runs](/api/rtf/officeimo-rtf-rtfparagraph/#property-runs)
- Method [RtfRun.ClearRevision](/api/rtf/officeimo-rtf-rtfrun/#method-clearrevision)
- Method [RtfRun.SetBaseline](/api/rtf/officeimo-rtf-rtfrun/#method-setbaseline)
- Method [RtfRun.SetBold](/api/rtf/officeimo-rtf-rtfrun/#method-setbold-boolean)
- Method [RtfRun.SetCapsStyle](/api/rtf/officeimo-rtf-rtfrun/#method-setcapsstyle-officeimo-rtf-rtfcapsstyle)
- Method [RtfRun.SetCharacterBackgroundColor](/api/rtf/officeimo-rtf-rtfrun/#method-setcharacterbackgroundcolor-nullable-system-int32)
- Method [RtfRun.SetCharacterBorder](/api/rtf/officeimo-rtf-rtfrun/#method-setcharacterborder-officeimo-rtf-rtfparagraphborderstyle-nullable-system-int32-nullable-system-int32)
- Method [RtfRun.SetCharacterOffsetHalfPoints](/api/rtf/officeimo-rtf-rtfrun/#method-setcharacteroffsethalfpoints-int32)
- Method [RtfRun.SetCharacterScale](/api/rtf/officeimo-rtf-rtfrun/#method-setcharacterscale-int32)
- Method [RtfRun.SetCharacterShading](/api/rtf/officeimo-rtf-rtfrun/#method-setcharactershading-nullable-system-int32-nullable-system-int32-nullable-system-int32-officeimo-rtf-rtfshadingpattern)
- Method [RtfRun.SetCharacterSpacingTwips](/api/rtf/officeimo-rtf-rtfrun/#method-setcharacterspacingtwips-int32)
- Method [RtfRun.SetDeletedRevision](/api/rtf/officeimo-rtf-rtfrun/#method-setdeletedrevision-nullable-system-int32-nullable-system-int32)
- Method [RtfRun.SetDirection](/api/rtf/officeimo-rtf-rtfrun/#method-setdirection-nullable-officeimo-rtf-rtftextdirection)
- Method [RtfRun.SetDoubleStrikethrough](/api/rtf/officeimo-rtf-rtfrun/#method-setdoublestrikethrough-boolean)
- Method [RtfRun.SetEmboss](/api/rtf/officeimo-rtf-rtfrun/#method-setemboss-boolean)
- Method [RtfRun.SetFontSize](/api/rtf/officeimo-rtf-rtfrun/#method-setfontsize-double)
- Method [RtfRun.SetForegroundColor](/api/rtf/officeimo-rtf-rtfrun/#method-setforegroundcolor-int32)
- Method [RtfRun.SetHidden](/api/rtf/officeimo-rtf-rtfrun/#method-sethidden-boolean)
- Method [RtfRun.SetHighlightColor](/api/rtf/officeimo-rtf-rtfrun/#method-sethighlightcolor-int32)
- Method [RtfRun.SetHyperlink](/api/rtf/officeimo-rtf-rtfrun/#method-sethyperlink-uri)
- Method [RtfRun.SetImprint](/api/rtf/officeimo-rtf-rtfrun/#method-setimprint-boolean)
- Method [RtfRun.SetInsertedRevision](/api/rtf/officeimo-rtf-rtfrun/#method-setinsertedrevision-nullable-system-int32-nullable-system-int32)
- Method [RtfRun.SetItalic](/api/rtf/officeimo-rtf-rtfrun/#method-setitalic-boolean)
- Method [RtfRun.SetKerningHalfPoints](/api/rtf/officeimo-rtf-rtfrun/#method-setkerninghalfpoints-int32)
- Method [RtfRun.SetLanguage](/api/rtf/officeimo-rtf-rtfrun/#method-setlanguage-int32)
- Method [RtfRun.SetNote](/api/rtf/officeimo-rtf-rtfrun/#method-setnote-officeimo-rtf-rtfnote)
- Method [RtfRun.SetOutline](/api/rtf/officeimo-rtf-rtfrun/#method-setoutline-boolean)
- Method [RtfRun.SetRevisionSaveIds](/api/rtf/officeimo-rtf-rtfrun/#method-setrevisionsaveids-nullable-system-int32-nullable-system-int32-nullable-system-int32)
- Method [RtfRun.SetShadow](/api/rtf/officeimo-rtf-rtfrun/#method-setshadow-boolean)
- Method [RtfRun.SetStrikethrough](/api/rtf/officeimo-rtf-rtfrun/#method-setstrikethrough-boolean)
- Method [RtfRun.SetStyle](/api/rtf/officeimo-rtf-rtfrun/#method-setstyle-int32)
- Method [RtfRun.SetSubscript](/api/rtf/officeimo-rtf-rtfrun/#method-setsubscript)
- Method [RtfRun.SetSuperscript](/api/rtf/officeimo-rtf-rtfrun/#method-setsuperscript)
- Method [RtfRun.SetUnderline](/api/rtf/officeimo-rtf-rtfrun/#method-setunderline-officeimo-rtf-rtfunderlinestyle)
- Method [RtfRun.SetUnderlineColor](/api/rtf/officeimo-rtf-rtfrun/#method-setunderlinecolor-int32)
- Method [RtfRun.TransformTextCase](/api/rtf/officeimo-rtf-rtfrun/#method-transformtextcase-officeimo-drawing-officetextcase-globalization-cultureinfo)

### Accepted by parameters 1

- Method [RtfDocument.ResolveRunFormatting](/api/rtf/officeimo-rtf-rtfdocument/#method-resolverunformatting-officeimo-rtf-rtfparagraph-officeimo-rtf-rtfrun) parameter `run`

Filter members 

Show inherited

## Methods

`public RtfRun ClearRevision()` [#](#method-clearrevision)

[RtfRun.cs:368](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L368)

Clears tracked revision metadata from the run.

Returns

`RtfRun`

`public RtfRun SetBaseline()` [#](#method-setbaseline)

[RtfRun.cs:271](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L271)

Resets the run to normal baseline text.

Returns

`RtfRun`

`public RtfRun SetBold(bool value = true)` [#](#method-setbold-boolean)

[RtfRun.cs:148](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L148)

Enables bold formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetCapsStyle(RtfCapsStyle capsStyle)` [#](#method-setcapsstyle-officeimo-rtf-rtfcapsstyle)

[RtfRun.cs:253](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L253)

Sets the run capitalization effect.

Parameters

**capsStyle OfficeIMO.Rtf.RtfCapsStyle required**

Returns

`RtfRun`

`public RtfRun SetCharacterBackgroundColor(int? colorIndex)` [#](#method-setcharacterbackgroundcolor-nullable-system-int32)

[RtfRun.cs:298](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L298)

Sets character background shading to a one-based color table index.

Parameters

**colorIndex int? required**

Returns

`RtfRun`

`public RtfRun SetCharacterBorder(RtfParagraphBorderStyle style, int? width = null, int? colorIndex = null)` [#](#method-setcharacterborder-officeimo-rtf-rtfparagraphborderstyle-nullable-system-int32-nullable-system-int32)

[RtfRun.cs:313](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L313)

Sets the character border formatting.

Parameters

**style OfficeIMO.Rtf.RtfParagraphBorderStyle required**

**width int? = null optional**

**colorIndex int? = null optional**

Returns

`RtfRun`

`public RtfRun SetCharacterOffsetHalfPoints(int halfPoints)` [#](#method-setcharacteroffsethalfpoints-int32)

[RtfRun.cs:205](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L205)

Sets signed baseline offset in half-points.

Parameters

**halfPoints int required**

Returns

`RtfRun`

`public RtfRun SetCharacterScale(int percent)` [#](#method-setcharacterscale-int32)

[RtfRun.cs:191](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L191)

Sets character scale percentage.

Parameters

**percent int required**

Returns

`RtfRun`

`public RtfRun SetCharacterShading(int? backgroundColorIndex, int? foregroundColorIndex = null, int? patternPercent = null, RtfShadingPattern pattern = None)` [#](#method-setcharactershading-nullable-system-int32-nullable-system-int32-nullable-system-int32-officeimo-rtf-rtfshadingpattern)

[RtfRun.cs:304](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L304)

Sets character shading color and pattern metadata.

Parameters

**backgroundColorIndex int? required**

**foregroundColorIndex int? = null optional**

**patternPercent int? = null optional**

**pattern OfficeIMO.Rtf.RtfShadingPattern = None optional**

Returns

`RtfRun`

`public RtfRun SetCharacterSpacingTwips(int spacingTwips)` [#](#method-setcharacterspacingtwips-int32)

[RtfRun.cs:185](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L185)

Sets character spacing in twips.

Parameters

**spacingTwips int required**

Returns

`RtfRun`

`public RtfRun SetDeletedRevision(int? authorIndex = null, int? timestampValue = null)` [#](#method-setdeletedrevision-nullable-system-int32-nullable-system-int32)

[RtfRun.cs:360](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L360)

Marks the run as tracked deleted text.

Parameters

**authorIndex int? = null optional**

**timestampValue int? = null optional**

Returns

`RtfRun`

`public RtfRun SetDirection(RtfTextDirection? direction)` [#](#method-setdirection-nullable-officeimo-rtf-rtftextdirection)

[RtfRun.cs:327](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L327)

Sets explicit run text direction.

Parameters

**direction OfficeIMO.Rtf.RtfTextDirection? required**

Returns

`RtfRun`

`public RtfRun SetDoubleStrikethrough(bool value = true)` [#](#method-setdoublestrikethrough-boolean)

[RtfRun.cs:217](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L217)

Enables double strike-through formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetEmboss(bool value = true)` [#](#method-setemboss-boolean)

[RtfRun.cs:241](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L241)

Enables embossed text formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetFontSize(double points)` [#](#method-setfontsize-double)

[RtfRun.cs:277](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L277)

Sets the run font size in points.

Parameters

**points double required**

Returns

`RtfRun`

`public RtfRun SetForegroundColor(int colorIndex)` [#](#method-setforegroundcolor-int32)

[RtfRun.cs:284](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L284)

Sets the foreground color table index.

Parameters

**colorIndex int required**

Returns

`RtfRun`

`public RtfRun SetHidden(bool value = true)` [#](#method-sethidden-boolean)

[RtfRun.cs:223](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L223)

Enables hidden text formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetHighlightColor(int colorIndex)` [#](#method-sethighlightcolor-int32)

[RtfRun.cs:291](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L291)

Sets the highlight color table index.

Parameters

**colorIndex int required**

Returns

`RtfRun`

`public RtfRun SetHyperlink(Uri uri)` [#](#method-sethyperlink-uri)

[RtfRun.cs:340](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L340)

Marks the run as a hyperlink.

Parameters

**uri System.Uri required**

Returns

`RtfRun`

`public RtfRun SetImprint(bool value = true)` [#](#method-setimprint-boolean)

[RtfRun.cs:247](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L247)

Enables engraved/imprinted text formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetInsertedRevision(int? authorIndex = null, int? timestampValue = null)` [#](#method-setinsertedrevision-nullable-system-int32-nullable-system-int32)

[RtfRun.cs:352](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L352)

Marks the run as tracked inserted text.

Parameters

**authorIndex int? = null optional**

**timestampValue int? = null optional**

Returns

`RtfRun`

`public RtfRun SetItalic(bool value = true)` [#](#method-setitalic-boolean)

[RtfRun.cs:154](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L154)

Enables italic formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetKerningHalfPoints(int halfPoints)` [#](#method-setkerninghalfpoints-int32)

[RtfRun.cs:198](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L198)

Sets the kerning threshold in half-points.

Parameters

**halfPoints int required**

Returns

`RtfRun`

`public RtfRun SetLanguage(int languageId)` [#](#method-setlanguage-int32)

[RtfRun.cs:333](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L333)

Sets the run language LCID.

Parameters

**languageId int required**

Returns

`RtfRun`

`public RtfRun SetNote(RtfNote note)` [#](#method-setnote-officeimo-rtf-rtfnote)

[RtfRun.cs:346](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L346)

Attaches a footnote or annotation to this run.

Parameters

**note OfficeIMO.Rtf.RtfNote required**

Returns

`RtfRun`

`public RtfRun SetOutline(bool value = true)` [#](#method-setoutline-boolean)

[RtfRun.cs:229](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L229)

Enables outline text formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetRevisionSaveIds(int? character = null, int? insertion = null, int? deletion = null)` [#](#method-setrevisionsaveids-nullable-system-int32-nullable-system-int32-nullable-system-int32)

[RtfRun.cs:376](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L376)

Sets run-level revision save identifiers.

Parameters

**character int? = null optional**

**insertion int? = null optional**

**deletion int? = null optional**

Returns

`RtfRun`

`public RtfRun SetShadow(bool value = true)` [#](#method-setshadow-boolean)

[RtfRun.cs:235](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L235)

Enables shadow text formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetStrikethrough(bool value = true)` [#](#method-setstrikethrough-boolean)

[RtfRun.cs:211](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L211)

Enables strike-through formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetStyle(int styleId)` [#](#method-setstyle-int32)

[RtfRun.cs:321](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L321)

Sets the character style id.

Parameters

**styleId int required**

Returns

`RtfRun`

`public RtfRun SetSubscript()` [#](#method-setsubscript)

[RtfRun.cs:265](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L265)

Marks the run as subscript text.

Returns

`RtfRun`

`public RtfRun SetSuperscript()` [#](#method-setsuperscript)

[RtfRun.cs:259](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L259)

Marks the run as superscript text.

Returns

`RtfRun`

SetUnderline 2 overloads

`public RtfRun SetUnderline(bool value = true)` [#](#method-setunderline-boolean)

[RtfRun.cs:166](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L166)

Enables underline formatting.

Parameters

**value bool = true optional**

Returns

`RtfRun`

`public RtfRun SetUnderline(RtfUnderlineStyle style)` [#](#method-setunderline-officeimo-rtf-rtfunderlinestyle)

[RtfRun.cs:172](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L172)

Sets underline formatting to the requested RTF underline style.

Parameters

**style OfficeIMO.Rtf.RtfUnderlineStyle required**

Returns

`RtfRun`

`public RtfRun SetUnderlineColor(int colorIndex)` [#](#method-setunderlinecolor-int32)

[RtfRun.cs:178](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L178)

Sets the underline color table index.

Parameters

**colorIndex int required**

Returns

`RtfRun`

`public RtfRun TransformTextCase(OfficeTextCase textCase, CultureInfo? culture = null)` [#](#method-transformtextcase-officeimo-drawing-officetextcase-globalization-cultureinfo)

[RtfRun.cs:160](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L160)

Changes the stored run text casing while preserving character formatting.

Parameters

**textCase OfficeIMO.Drawing.OfficeTextCase required**

**culture System.Globalization.CultureInfo? = null optional**

Returns

`RtfRun`

## 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; set; }` [#](#property-text)

[RtfRun.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L12)

Run text.

`public bool UseDefaultCharacterFormatting { get; set; }` [#](#property-usedefaultcharacterformatting)

[RtfRun.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L15)

Whether a native plain reset selects document defaults beneath this run's direct and character-style formatting.

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

[RtfRun.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L18)

Whether the run is bold.

`public bool? DirectBold { get; set; }` [#](#property-directbold)

[RtfRun.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L21)

Authored Bold override. Null inherits from the selected style; an explicit default clears that style value.

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

[RtfRun.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L24)

Whether the run is italic.

`public bool? DirectItalic { get; set; }` [#](#property-directitalic)

[RtfRun.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L27)

Authored Italic override. Null inherits from the selected style; an explicit default clears that style value.

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

[RtfRun.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L31)

Whether the run is underlined. Setting this property uses single underline when enabled.

`public RtfUnderlineStyle UnderlineStyle { get; set; }` [#](#property-underlinestyle)

[RtfRun.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L36)

Underline style for the run.

`public RtfUnderlineStyle? DirectUnderlineStyle { get; set; }` [#](#property-directunderlinestyle)

[RtfRun.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L39)

Authored UnderlineStyle override. Null inherits from the selected style; an explicit default clears that style value.

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

[RtfRun.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L42)

Whether the run is struck through.

`public bool DoubleStrikethrough { get; set; }` [#](#property-doublestrikethrough)

[RtfRun.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L45)

Whether the run uses double strikethrough.

`public bool Hidden { get; set; }` [#](#property-hidden)

[RtfRun.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L48)

Whether the run is hidden text.

`public bool? DirectHidden { get; set; }` [#](#property-directhidden)

[RtfRun.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L51)

Authored hidden-text override. Null inherits; false makes text visible beneath a hidden-text style.

`public bool Outline { get; set; }` [#](#property-outline)

[RtfRun.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L54)

Whether the run text is outlined.

`public bool Shadow { get; set; }` [#](#property-shadow)

[RtfRun.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L57)

Whether the run text has a shadow effect.

`public bool Emboss { get; set; }` [#](#property-emboss)

[RtfRun.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L60)

Whether the run text is embossed.

`public bool Imprint { get; set; }` [#](#property-imprint)

[RtfRun.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L63)

Whether the run text is engraved/imprinted.

`public RtfCapsStyle CapsStyle { get; set; }` [#](#property-capsstyle)

[RtfRun.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L66)

Optional all-caps or small-caps character effect.

`public RtfVerticalPosition VerticalPosition { get; set; }` [#](#property-verticalposition)

[RtfRun.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L69)

Optional superscript or subscript positioning.

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

[RtfRun.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L72)

Optional font size in points.

`public int? FontId { get; set; }` [#](#property-fontid)

[RtfRun.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L75)

Optional font id.

`public int? ForegroundColorIndex { get; set; }` [#](#property-foregroundcolorindex)

[RtfRun.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L78)

Optional foreground color index.

`public int? HighlightColorIndex { get; set; }` [#](#property-highlightcolorindex)

[RtfRun.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L81)

Optional background highlight color index.

`public int? CharacterBackgroundColorIndex { get; set; }` [#](#property-characterbackgroundcolorindex)

[RtfRun.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L84)

One-based color table index used by character background shading.

`public int? CharacterShadingForegroundColorIndex { get; set; }` [#](#property-charactershadingforegroundcolorindex)

[RtfRun.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L87)

One-based color table index used by character pattern foreground shading.

`public int? CharacterShadingPatternPercent { get; set; }` [#](#property-charactershadingpatternpercent)

[RtfRun.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L90)

Raw RTF \chshdng value, where 10000 represents 100 percent.

`public RtfShadingPattern CharacterShadingPattern { get; set; }` [#](#property-charactershadingpattern)

[RtfRun.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L93)

Named RTF character shading pattern.

`public RtfCharacterBorder CharacterBorder { get; private set; }` [#](#property-characterborder)

[RtfRun.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L96)

Character border metadata represented by \chbrdr and following border controls.

`public int? UnderlineColorIndex { get; set; }` [#](#property-underlinecolorindex)

[RtfRun.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L99)

Optional underline color table index. A null value uses the document default.

`public int? CharacterSpacingTwips { get; set; }` [#](#property-characterspacingtwips)

[RtfRun.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L102)

Optional character spacing in twips. Positive values expand text and negative values condense it.

`public int? CharacterScalePercent { get; set; }` [#](#property-characterscalepercent)

[RtfRun.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L105)

Optional character scale percentage. A null value uses the document default of 100 percent.

`public int? KerningHalfPoints { get; set; }` [#](#property-kerninghalfpoints)

[RtfRun.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L108)

Optional kerning threshold in half-points.

`public int? CharacterOffsetHalfPoints { get; set; }` [#](#property-characteroffsethalfpoints)

[RtfRun.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L111)

Optional signed baseline offset in half-points. Positive values raise text and negative values lower it.

`public int? StyleId { get; set; }` [#](#property-styleid)

[RtfRun.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L114)

Optional character stylesheet id.

`public RtfTextDirection? Direction { get; set; }` [#](#property-direction)

[RtfRun.cs:117](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L117)

Explicit run text direction represented by \ltrch or \rtlch.

`public int? LanguageId { get; set; }` [#](#property-languageid)

[RtfRun.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L120)

Optional run language LCID represented by \lang.

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

[RtfRun.cs:123](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L123)

Optional hyperlink target. When set, the writer emits the run as an RTF field.

`public RtfNote? Note { get; set; }` [#](#property-note)

[RtfRun.cs:126](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L126)

Optional footnote or annotation emitted immediately after this run.

`public RtfRevisionKind RevisionKind { get; set; }` [#](#property-revisionkind)

[RtfRun.cs:129](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L129)

Optional tracked revision marker for this run.

`public int? RevisionAuthorIndex { get; set; }` [#](#property-revisionauthorindex)

[RtfRun.cs:132](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L132)

Optional zero-based index into the document revision author table.

`public int? RevisionTimestampValue { get; set; }` [#](#property-revisiontimestampvalue)

[RtfRun.cs:135](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L135)

Optional raw RTF DTTM revision timestamp value from \revdttm.

`public int? CharacterRevisionSaveId { get; set; }` [#](#property-characterrevisionsaveid)

[RtfRun.cs:138](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L138)

Character revision save identifier represented by \charrsid.

`public int? InsertionRevisionSaveId { get; set; }` [#](#property-insertionrevisionsaveid)

[RtfRun.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L141)

Insertion revision save identifier represented by \insrsid.

`public int? DeletionRevisionSaveId { get; set; }` [#](#property-deletionrevisionsaveid)

[RtfRun.cs:144](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfRun.cs#L144)

Deletion revision save identifier represented by \delrsid.

<!-- PowerForge markdown artifact sha256:E5528667F759DF4C10CDFE95123CC5ADB19A1B3B811C1C72632F949872734015 -->
