# RtfPageBorderStyle

Supported RTF page border line styles.

Enum 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Supported RTF page border line styles.

## Inheritance

- Enum
- RtfPageBorderStyle

## Usage

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

- Property [RtfPageBorder.Style](/api/rtf/officeimo-rtf-rtfpageborder/#property-style)
- Field [RtfPageBorderStyle.Dashed](/api/rtf/officeimo-rtf-rtfpageborderstyle/#field-dashed)
- Field [RtfPageBorderStyle.Dotted](/api/rtf/officeimo-rtf-rtfpageborderstyle/#field-dotted)
- Field [RtfPageBorderStyle.Double](/api/rtf/officeimo-rtf-rtfpageborderstyle/#field-double)
- Field [RtfPageBorderStyle.None](/api/rtf/officeimo-rtf-rtfpageborderstyle/#field-none)
- Field [RtfPageBorderStyle.Shadow](/api/rtf/officeimo-rtf-rtfpageborderstyle/#field-shadow)
- Field [RtfPageBorderStyle.Single](/api/rtf/officeimo-rtf-rtfpageborderstyle/#field-single)

### Accepted by parameters 2

- Method [RtfLosslessEditor.SetPageBorder](/api/rtf/officeimo-rtf-rtflosslesseditor/#method-setpageborder-officeimo-rtf-rtfpageborderside-officeimo-rtf-rtfpageborderstyle-nullable-system-int32-nullable-system-int32-nullable-system-int32-boolean) parameter `style`
- Method [RtfPageBorder.Set](/api/rtf/officeimo-rtf-rtfpageborder/#method-set-officeimo-rtf-rtfpageborderstyle-nullable-system-int32-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 RtfPageBorderStyle None` [#](#field-none)

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

No border.

Value: `0`

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

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

Single line border.

Value: `1`

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

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

Double line border.

Value: `2`

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

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

Dotted border.

Value: `3`

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

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

Dashed border.

Value: `4`

`public const RtfPageBorderStyle Shadow` [#](#field-shadow)

[RtfPageBorderStyle.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfPageBorderStyle.cs#L23)

Shadowed border line.

Value: `5`

<!-- PowerForge markdown artifact sha256:4A3A7C616E6095187E6065F7D2F0F17BAA1683768D56E40FE050E774EA0430BE -->
