# RtfParagraphBorderStyle

Supported RTF paragraph border line styles.

Enum 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfParagraphBorderStyle.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraphBorderStyle.cs#L6)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Supported RTF paragraph border line styles.

## Inheritance

- Enum
- RtfParagraphBorderStyle

## Usage

Explore 11 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 8

- Property [RtfCharacterBorder.Style](/api/rtf/officeimo-rtf-rtfcharacterborder/#property-style)
- Property [RtfParagraphBorder.DirectStyle](/api/rtf/officeimo-rtf-rtfparagraphborder/#property-directstyle)
- Property [RtfParagraphBorder.Style](/api/rtf/officeimo-rtf-rtfparagraphborder/#property-style)
- Field [RtfParagraphBorderStyle.Dashed](/api/rtf/officeimo-rtf-rtfparagraphborderstyle/#field-dashed)
- Field [RtfParagraphBorderStyle.Dotted](/api/rtf/officeimo-rtf-rtfparagraphborderstyle/#field-dotted)
- Field [RtfParagraphBorderStyle.Double](/api/rtf/officeimo-rtf-rtfparagraphborderstyle/#field-double)
- Field [RtfParagraphBorderStyle.None](/api/rtf/officeimo-rtf-rtfparagraphborderstyle/#field-none)
- Field [RtfParagraphBorderStyle.Single](/api/rtf/officeimo-rtf-rtfparagraphborderstyle/#field-single)

### Accepted by parameters 3

- Method [RtfParagraph.SetBorder](/api/rtf/officeimo-rtf-rtfparagraph/#method-setborder-officeimo-rtf-rtfparagraphborderside-officeimo-rtf-rtfparagraphborderstyle-nullable-system-int32-nullable-system-int32) parameter `style`
- Method [RtfRun.SetCharacterBorder](/api/rtf/officeimo-rtf-rtfrun/#method-setcharacterborder-officeimo-rtf-rtfparagraphborderstyle-nullable-system-int32-nullable-system-int32) parameter `style`
- Method [RtfStyle.SetBorder](/api/rtf/officeimo-rtf-rtfstyle/#method-setborder-officeimo-rtf-rtfparagraphborderside-officeimo-rtf-rtfparagraphborderstyle-nullable-system-int32-nullable-system-int32) parameter `style`

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

[RtfParagraphBorderStyle.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraphBorderStyle.cs#L8)

No border.

Value: `0`

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

[RtfParagraphBorderStyle.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraphBorderStyle.cs#L11)

Single line border.

Value: `1`

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

[RtfParagraphBorderStyle.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraphBorderStyle.cs#L14)

Double line border.

Value: `2`

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

[RtfParagraphBorderStyle.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraphBorderStyle.cs#L17)

Dotted border.

Value: `3`

`public const RtfParagraphBorderStyle Dashed` [#](#field-dashed)

[RtfParagraphBorderStyle.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraphBorderStyle.cs#L20)

Dashed border.

Value: `4`

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