# RtfControlWord

Represents an RTF control word in a syntax tree.

Class 

`OfficeIMO.Rtf.Syntax`

**Namespace**

`OfficeIMO.Rtf.Syntax`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`RtfNode`

**Modifiers**

sealed

Represents an RTF control word in a syntax tree.

## Inheritance

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

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 Name { get; }` [#](#property-name)

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

Control word name without the leading backslash.

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

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

Optional numeric parameter.

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

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

Whether a parameter was explicitly supplied.

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

[RtfControlWord.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Syntax/RtfControlWord.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:A25CFEC3C9F7F3E3BE1FC018A2AE536156CE210CED7F88190AF224C895AFEFB2 -->
