# RtfPageBorderFluent

The fluent methods of RtfPageBorder, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Modifiers**

static

The fluent methods of [RtfPageBorder](/api/rtf/officeimo-rtf-rtfpageborder/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- RtfPageBorderFluent

Filter members 

Show inherited

## Methods

`public static RtfPageBorder ColorIndex(RtfPageBorder rtfPageBorder, int? value)` [#](#method-colorindex-officeimo-rtf-rtfpageborder-nullable-system-int32)

Sets [RtfPageBorder.ColorIndex](/api/rtf/officeimo-rtf-rtfpageborder/): One-based color table index.

Parameters

**rtfPageBorder OfficeIMO.Rtf.RtfPageBorder required**

The instance.

**value int? required**

The value.

Returns

`RtfPageBorder` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { ColorIndex = value };    rtfPageBorder.ColorIndex(value);
```

`public static RtfPageBorder Frame(RtfPageBorder rtfPageBorder, bool value = true)` [#](#method-frame-officeimo-rtf-rtfpageborder-boolean)

Sets [RtfPageBorder.Frame](/api/rtf/officeimo-rtf-rtfpageborder/): Whether the border is displayed as a frame border.

Parameters

**rtfPageBorder OfficeIMO.Rtf.RtfPageBorder required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfPageBorder` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { Frame = value };    rtfPageBorder.Frame(value);
```

`public static RtfPageBorder Shadow(RtfPageBorder rtfPageBorder, bool value = true)` [#](#method-shadow-officeimo-rtf-rtfpageborder-boolean)

Sets [RtfPageBorder.Shadow](/api/rtf/officeimo-rtf-rtfpageborder/): Whether the border has a shadow effect.

Parameters

**rtfPageBorder OfficeIMO.Rtf.RtfPageBorder required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfPageBorder` The same instance.

Examples

```csharp
// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { Shadow = value };    rtfPageBorder.Shadow(value);
```

`public static RtfPageBorder Space(RtfPageBorder rtfPageBorder, int? value)` [#](#method-space-officeimo-rtf-rtfpageborder-nullable-system-int32)

Sets [RtfPageBorder.Space](/api/rtf/officeimo-rtf-rtfpageborder/): Space between the page border and the measured edge, represented by \brsp.

Parameters

**rtfPageBorder OfficeIMO.Rtf.RtfPageBorder required**

The instance.

**value int? required**

The value.

Returns

`RtfPageBorder` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { Space = value };    rtfPageBorder.Space(value);
```

`public static RtfPageBorder Style(RtfPageBorder rtfPageBorder, RtfPageBorderStyle value)` [#](#method-style-officeimo-rtf-rtfpageborder-officeimo-rtf-rtfpageborderstyle)

Sets [RtfPageBorder.Style](/api/rtf/officeimo-rtf-rtfpageborder/): Border line style.

Parameters

**rtfPageBorder OfficeIMO.Rtf.RtfPageBorder required**

The instance.

**value OfficeIMO.Rtf.RtfPageBorderStyle required**

The value.

Returns

`RtfPageBorder` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { Style = value };    rtfPageBorder.Style(value);
```

`public static RtfPageBorder Width(RtfPageBorder rtfPageBorder, int? value)` [#](#method-width-officeimo-rtf-rtfpageborder-nullable-system-int32)

Sets [RtfPageBorder.Width](/api/rtf/officeimo-rtf-rtfpageborder/): Border width value carried by the RTF \brdrw control.

Parameters

**rtfPageBorder OfficeIMO.Rtf.RtfPageBorder required**

The instance.

**value int? required**

The value.

Returns

`RtfPageBorder` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { Width = value };    rtfPageBorder.Width(value);
```

## 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?`

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