# OdfTextDecorationType

Native ODF text-decoration line counts.

Enum 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[OdfTextFormatting.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.OpenDocument/Styles/OdfTextFormatting.cs#L24)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Native ODF text-decoration line counts.

## Inheritance

- Enum
- OdfTextDecorationType

## Usage

Explore 25 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 25

- Property [OdfStyle.LineThroughType](/api/open-document/officeimo-opendocument-odfstyle/#property-linethroughtype)
- Property [OdfStyle.UnderlineType](/api/open-document/officeimo-opendocument-odfstyle/#property-underlinetype)
- Property [OdfTextContent.UnderlineType](/api/open-document/officeimo-opendocument-odftextcontent/#property-underlinetype)
- Field [OdfTextDecorationType.Double](/api/open-document/officeimo-opendocument-odftextdecorationtype/#field-double)
- Field [OdfTextDecorationType.None](/api/open-document/officeimo-opendocument-odftextdecorationtype/#field-none)
- Field [OdfTextDecorationType.Single](/api/open-document/officeimo-opendocument-odftextdecorationtype/#field-single)
- Property [OdfTextHyperlink.UnderlineType](/api/open-document/officeimo-opendocument-odftexthyperlink/#property-underlinetype)
- Property [OdfTextParagraph.UnderlineType](/api/open-document/officeimo-opendocument-odftextparagraph/#property-underlinetype)
- Property [OdfTextRun.UnderlineType](/api/open-document/officeimo-opendocument-odftextrun/#property-underlinetype)
- Property [OdpHyperlink.LineThroughType](/api/open-document/officeimo-opendocument-odphyperlink/#property-linethroughtype)
- Property [OdpHyperlink.UnderlineType](/api/open-document/officeimo-opendocument-odphyperlink/#property-underlinetype)
- Property [OdpParagraph.LineThroughType](/api/open-document/officeimo-opendocument-odpparagraph/#property-linethroughtype)
- Property [OdpParagraph.UnderlineType](/api/open-document/officeimo-opendocument-odpparagraph/#property-underlinetype)
- Property [OdpRun.LineThroughType](/api/open-document/officeimo-opendocument-odprun/#property-linethroughtype)
- Property [OdpRun.UnderlineType](/api/open-document/officeimo-opendocument-odprun/#property-underlinetype)
- Property [OdsCell.LineThroughType](/api/open-document/officeimo-opendocument-odscell/#property-linethroughtype)
- Property [OdsCell.UnderlineType](/api/open-document/officeimo-opendocument-odscell/#property-underlinetype)
- Property [OdsCellRun.LineThroughType](/api/open-document/officeimo-opendocument-odscellrun/#property-linethroughtype)
- Property [OdsCellRun.UnderlineType](/api/open-document/officeimo-opendocument-odscellrun/#property-underlinetype)
- Property [OdtHyperlink.LineThroughType](/api/open-document/officeimo-opendocument-odthyperlink/#property-linethroughtype)
- Property [OdtHyperlink.UnderlineType](/api/open-document/officeimo-opendocument-odthyperlink/#property-underlinetype)
- Property [OdtParagraph.LineThroughType](/api/open-document/officeimo-opendocument-odtparagraph/#property-linethroughtype)
- Property [OdtParagraph.UnderlineType](/api/open-document/officeimo-opendocument-odtparagraph/#property-underlinetype)
- Property [OdtSpan.LineThroughType](/api/open-document/officeimo-opendocument-odtspan/#property-linethroughtype)
- Property [OdtSpan.UnderlineType](/api/open-document/officeimo-opendocument-odtspan/#property-underlinetype)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OdfTextDecorationType None` [#](#field-none)

[OdfTextFormatting.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.OpenDocument/Styles/OdfTextFormatting.cs#L26)

No decoration.

Value: `0`

`public const OdfTextDecorationType Single` [#](#field-single)

[OdfTextFormatting.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.OpenDocument/Styles/OdfTextFormatting.cs#L28)

Single decoration line.

Value: `1`

`public const OdfTextDecorationType Double` [#](#field-double)

[OdfTextFormatting.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.OpenDocument/Styles/OdfTextFormatting.cs#L30)

Double decoration line.

Value: `2`

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