# OdfTextDecorationStyle

Native ODF text-decoration line styles.

Enum 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Native ODF text-decoration line styles.

## Inheritance

- Enum
- OdfTextDecorationStyle

## Usage

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

- Property [OdfStyle.LineThroughStyle](/api/open-document/officeimo-opendocument-odfstyle/#property-linethroughstyle)
- Property [OdfStyle.UnderlineStyle](/api/open-document/officeimo-opendocument-odfstyle/#property-underlinestyle)
- Property [OdfTextContent.UnderlineStyle](/api/open-document/officeimo-opendocument-odftextcontent/#property-underlinestyle)
- Field [OdfTextDecorationStyle.Dash](/api/open-document/officeimo-opendocument-odftextdecorationstyle/#field-dash)
- Field [OdfTextDecorationStyle.DotDash](/api/open-document/officeimo-opendocument-odftextdecorationstyle/#field-dotdash)
- Field [OdfTextDecorationStyle.DotDotDash](/api/open-document/officeimo-opendocument-odftextdecorationstyle/#field-dotdotdash)
- Field [OdfTextDecorationStyle.Dotted](/api/open-document/officeimo-opendocument-odftextdecorationstyle/#field-dotted)
- Field [OdfTextDecorationStyle.LongDash](/api/open-document/officeimo-opendocument-odftextdecorationstyle/#field-longdash)
- Field [OdfTextDecorationStyle.None](/api/open-document/officeimo-opendocument-odftextdecorationstyle/#field-none)
- Field [OdfTextDecorationStyle.Solid](/api/open-document/officeimo-opendocument-odftextdecorationstyle/#field-solid)
- Field [OdfTextDecorationStyle.Wave](/api/open-document/officeimo-opendocument-odftextdecorationstyle/#field-wave)
- Property [OdfTextHyperlink.UnderlineStyle](/api/open-document/officeimo-opendocument-odftexthyperlink/#property-underlinestyle)
- Property [OdfTextParagraph.UnderlineStyle](/api/open-document/officeimo-opendocument-odftextparagraph/#property-underlinestyle)
- Property [OdfTextRun.UnderlineStyle](/api/open-document/officeimo-opendocument-odftextrun/#property-underlinestyle)
- Property [OdpHyperlink.LineThroughStyle](/api/open-document/officeimo-opendocument-odphyperlink/#property-linethroughstyle)
- Property [OdpHyperlink.UnderlineStyle](/api/open-document/officeimo-opendocument-odphyperlink/#property-underlinestyle)
- Property [OdpParagraph.LineThroughStyle](/api/open-document/officeimo-opendocument-odpparagraph/#property-linethroughstyle)
- Property [OdpParagraph.UnderlineStyle](/api/open-document/officeimo-opendocument-odpparagraph/#property-underlinestyle)
- Property [OdpRun.LineThroughStyle](/api/open-document/officeimo-opendocument-odprun/#property-linethroughstyle)
- Property [OdpRun.UnderlineStyle](/api/open-document/officeimo-opendocument-odprun/#property-underlinestyle)
- Property [OdsCell.LineThroughStyle](/api/open-document/officeimo-opendocument-odscell/#property-linethroughstyle)
- Property [OdsCell.UnderlineStyle](/api/open-document/officeimo-opendocument-odscell/#property-underlinestyle)
- Property [OdsCellRun.LineThroughStyle](/api/open-document/officeimo-opendocument-odscellrun/#property-linethroughstyle)
- Property [OdsCellRun.UnderlineStyle](/api/open-document/officeimo-opendocument-odscellrun/#property-underlinestyle)
- Property [OdtHyperlink.LineThroughStyle](/api/open-document/officeimo-opendocument-odthyperlink/#property-linethroughstyle)
- Property [OdtHyperlink.UnderlineStyle](/api/open-document/officeimo-opendocument-odthyperlink/#property-underlinestyle)
- Property [OdtParagraph.LineThroughStyle](/api/open-document/officeimo-opendocument-odtparagraph/#property-linethroughstyle)
- Property [OdtParagraph.UnderlineStyle](/api/open-document/officeimo-opendocument-odtparagraph/#property-underlinestyle)
- Property [OdtSpan.LineThroughStyle](/api/open-document/officeimo-opendocument-odtspan/#property-linethroughstyle)
- Property [OdtSpan.UnderlineStyle](/api/open-document/officeimo-opendocument-odtspan/#property-underlinestyle)

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 OdfTextDecorationStyle None` [#](#field-none)

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

No decoration line.

Value: `0`

`public const OdfTextDecorationStyle Solid` [#](#field-solid)

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

Solid line.

Value: `1`

`public const OdfTextDecorationStyle Dotted` [#](#field-dotted)

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

Dotted line.

Value: `2`

`public const OdfTextDecorationStyle Dash` [#](#field-dash)

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

Dashed line.

Value: `3`

`public const OdfTextDecorationStyle LongDash` [#](#field-longdash)

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

Long-dashed line.

Value: `4`

`public const OdfTextDecorationStyle DotDash` [#](#field-dotdash)

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

Alternating dot and dash line.

Value: `5`

`public const OdfTextDecorationStyle DotDotDash` [#](#field-dotdotdash)

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

Alternating two dots and a dash line.

Value: `6`

`public const OdfTextDecorationStyle Wave` [#](#field-wave)

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

Wavy line.

Value: `7`

<!-- PowerForge markdown artifact sha256:5257AAABAE9FBDD6314B5C2CEF12555419AACC67C9CFAB5072BF68F9B5CD9603 -->
