# RtfParagraphBorder

Border formatting for one side of an RTF paragraph.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Implements**

`IRtfCloneable`

**Modifiers**

sealed

Border formatting for one side of an RTF paragraph.

## Inheritance

- object
- RtfParagraphBorder

## Usage

Explore 8 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 [RtfParagraph.BottomBorder](/api/rtf/officeimo-rtf-rtfparagraph/#property-bottomborder)
- Property [RtfParagraph.LeftBorder](/api/rtf/officeimo-rtf-rtfparagraph/#property-leftborder)
- Property [RtfParagraph.RightBorder](/api/rtf/officeimo-rtf-rtfparagraph/#property-rightborder)
- Property [RtfParagraph.TopBorder](/api/rtf/officeimo-rtf-rtfparagraph/#property-topborder)
- Property [RtfStyle.BottomBorder](/api/rtf/officeimo-rtf-rtfstyle/#property-bottomborder)
- Property [RtfStyle.LeftBorder](/api/rtf/officeimo-rtf-rtfstyle/#property-leftborder)
- Property [RtfStyle.RightBorder](/api/rtf/officeimo-rtf-rtfstyle/#property-rightborder)
- Property [RtfStyle.TopBorder](/api/rtf/officeimo-rtf-rtfstyle/#property-topborder)

Filter members 

Show inherited

## Constructors

`public RtfParagraphBorder()` [#](#constructor-ctor)

## 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 RtfParagraphBorderStyle Style { get; set; }` [#](#property-style)

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

Border line style.

`public RtfParagraphBorderStyle? DirectStyle { get; set; }` [#](#property-directstyle)

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

Authored border style. An explicit None clears an inherited border; null inherits.

`public int? Width { get; set; }` [#](#property-width)

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

Border width value carried by the RTF \brdrw control.

`public int? ColorIndex { get; set; }` [#](#property-colorindex)

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

One-based color table index.

`public bool HasAnyValue { get; }` [#](#property-hasanyvalue)

[RtfParagraphBorder.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraphBorder.cs#L21)

Whether any border formatting is present.

<!-- PowerForge markdown artifact sha256:27BD3D03357D31F753E36826A2702696EAC4D6623417E5E3B37612D46970C401 -->
