# RtfControlSymbol

Represents an RTF control symbol in a syntax tree.

Class 

`OfficeIMO.Rtf.Syntax`

**Namespace**

`OfficeIMO.Rtf.Syntax`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfControlSymbol.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Syntax/RtfControlSymbol.cs#L16)

**Base**

`RtfNode`

**Modifiers**

sealed

Represents an RTF control symbol in a syntax tree.

## Inheritance

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

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 char Symbol { get; }` [#](#property-symbol)

[RtfControlSymbol.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Syntax/RtfControlSymbol.cs#L16)

Symbol character without the leading backslash.

`public int? Parameter { get; }` [#](#property-parameter)

[RtfControlSymbol.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Syntax/RtfControlSymbol.cs#L19)

Optional numeric parameter, used for hex-encoded symbols.

`public bool HasParameter { get; }` [#](#property-hasparameter)

[RtfControlSymbol.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Syntax/RtfControlSymbol.cs#L22)

Whether a parameter was explicitly supplied.

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

[RtfControlSymbol.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Syntax/RtfControlSymbol.cs#L25)

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:D84380C3F60B5DEA62850174F3B8038E96A9A61246B73DD708FE33C42DC8392A -->
