# RtfCharacterBorder

Character border formatting for an RTF text run.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Implements**

`IRtfCloneable`

**Modifiers**

sealed

Character border formatting for an RTF text run.

## Inheritance

- object
- RtfCharacterBorder

## Usage

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

- Property [RtfRun.CharacterBorder](/api/rtf/officeimo-rtf-rtfrun/#property-characterborder)

Filter members 

Show inherited

## Constructors

`public RtfCharacterBorder()` [#](#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)

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

Border line style.

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

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

Border width value carried by the RTF \brdrw control.

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

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

One-based color table index.

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

[RtfCharacterBorder.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfCharacterBorder.cs#L18)

Whether any border formatting is present.

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