Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfPageBorderFluent

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Modifiers
static

The fluent methods of 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

Methods

public static RtfPageBorder ColorIndex(RtfPageBorder rtfPageBorder, int? value) #

Sets RtfPageBorder.ColorIndex: One-based color table index.

Parameters

rtfPageBorder OfficeIMO.Rtf.RtfPageBorder required
The instance.
value int? required
The value.

Returns

RtfPageBorder The same instance.

Examples

// 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) #

Sets RtfPageBorder.Frame: 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

// 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) #

Sets RtfPageBorder.Shadow: 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

// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { Shadow = value };    rtfPageBorder.Shadow(value);
public static RtfPageBorder Space(RtfPageBorder rtfPageBorder, int? value) #

Sets RtfPageBorder.Space: 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

// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { Space = value };    rtfPageBorder.Space(value);
public static RtfPageBorder Style(RtfPageBorder rtfPageBorder, RtfPageBorderStyle value) #

Sets RtfPageBorder.Style: Border line style.

Parameters

rtfPageBorder OfficeIMO.Rtf.RtfPageBorder required
The instance.
value OfficeIMO.Rtf.RtfPageBorderStyle required
The value.

Returns

RtfPageBorder The same instance.

Examples

// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorder { Style = value };    rtfPageBorder.Style(value);
public static RtfPageBorder Width(RtfPageBorder rtfPageBorder, int? value) #

Sets RtfPageBorder.Width: 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

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