# RtfText

Represents literal RTF text. Review signatures, members, parameters, type relationships, and available reference details in OfficeIMO.Rtf API Reference.

Class 

`OfficeIMO.Rtf.Syntax`

**Namespace**

`OfficeIMO.Rtf.Syntax`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`RtfNode`

**Modifiers**

sealed

Represents literal RTF text.

## Inheritance

- [RtfNode](/api/rtf/officeimo-rtf-syntax-rtfnode/)
- RtfText

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)

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

Literal text.

`public string RawText { get; }` [#](#property-rawtext)

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

Raw source text.

## Inherited Properties

`public int Position { get; }` [#](#property-position)

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

Inherited from [RtfNode](/api/rtf/officeimo-rtf-syntax-rtfnode/)

<!-- PowerForge markdown artifact sha256:12A47B61BF92EC51497834893FB117F2F66598E0C62D294BB106F9F5B52A92A1 -->
