Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordParagraphBordersFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordParagraphBorders, 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
  • WordParagraphBordersFluent

Methods

public static TSelf Border<TSelf>(TSelf wordParagraphBorders, WordParagraphBorderType type, WordBorderStyle style, OfficeColor color, OfficeLength size, bool shadow) #

Sets the style, color, width and shadow of one paragraph border.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
type OfficeIMO.Word.WordParagraphBorderType required
Border side.
style OfficeIMO.Word.WordBorderStyle required
Border style.
color OfficeIMO.OfficeColor required
Border color.
size OfficeIMO.OfficeLength required
Border width, rounded to the nearest eighth of a point.
shadow bool required
Whether the border has a shadow.

Returns

TSelf The same instance.
public static TSelf BottomColor<TSelf>(TSelf wordParagraphBorders, OfficeColor? value) #

Sets WordParagraphBorders.BottomColor: Gets or sets the bottom border color.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                // C# fluent
wordParagraphBorders.BottomColor = value;    wordParagraphBorders.BottomColor(value);
public static TSelf BottomFrame<TSelf>(TSelf wordParagraphBorders, bool? value = true) #

Sets WordParagraphBorders.BottomFrame: Gets or sets a value indicating whether the bottom border is part of a frame.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                // C# fluent
wordParagraphBorders.BottomFrame = value;    wordParagraphBorders.BottomFrame(value);
public static TSelf BottomShadow<TSelf>(TSelf wordParagraphBorders, bool? value = true) #

Sets WordParagraphBorders.BottomShadow: Gets or sets a value indicating whether the bottom border has a shadow.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                 // C# fluent
wordParagraphBorders.BottomShadow = value;    wordParagraphBorders.BottomShadow(value);
public static TSelf BottomSize<TSelf>(TSelf wordParagraphBorders, OfficeLength? value) #

Sets WordParagraphBorders.BottomSize: Gets or sets the bottom border width as a physical length.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property               // C# fluent
wordParagraphBorders.BottomSize = value;    wordParagraphBorders.BottomSize(value);
public static TSelf BottomSpace<TSelf>(TSelf wordParagraphBorders, OfficeLength? value) #

Sets WordParagraphBorders.BottomSpace: Gets or sets the bottom border spacing.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                // C# fluent
wordParagraphBorders.BottomSpace = value;    wordParagraphBorders.BottomSpace(value);
public static TSelf BottomStyle<TSelf>(TSelf wordParagraphBorders, WordBorderStyle? value) #

Sets WordParagraphBorders.BottomStyle: Gets or sets the bottom border style.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordBorderStyle? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                // C# fluent
wordParagraphBorders.BottomStyle = value;    wordParagraphBorders.BottomStyle(value);
public static TSelf BottomThemeColor<TSelf>(TSelf wordParagraphBorders, WordThemeColor? value) #

Sets WordParagraphBorders.BottomThemeColor: Gets or sets the bottom border theme color.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordThemeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                     // C# fluent
wordParagraphBorders.BottomThemeColor = value;    wordParagraphBorders.BottomThemeColor(value);
public static TSelf LeftColor<TSelf>(TSelf wordParagraphBorders, OfficeColor? value) #

Sets WordParagraphBorders.LeftColor: Gets or sets the left border color.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property              // C# fluent
wordParagraphBorders.LeftColor = value;    wordParagraphBorders.LeftColor(value);
public static TSelf LeftFrame<TSelf>(TSelf wordParagraphBorders, bool? value = true) #

Sets WordParagraphBorders.LeftFrame: Gets or sets a value indicating whether the left border is part of a frame.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property              // C# fluent
wordParagraphBorders.LeftFrame = value;    wordParagraphBorders.LeftFrame(value);
public static TSelf LeftShadow<TSelf>(TSelf wordParagraphBorders, bool? value = true) #

Sets WordParagraphBorders.LeftShadow: Gets or sets a value indicating whether the left border has a shadow.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property               // C# fluent
wordParagraphBorders.LeftShadow = value;    wordParagraphBorders.LeftShadow(value);
public static TSelf LeftSize<TSelf>(TSelf wordParagraphBorders, OfficeLength? value) #

Sets WordParagraphBorders.LeftSize: Gets or sets the left border width as a physical length.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property             // C# fluent
wordParagraphBorders.LeftSize = value;    wordParagraphBorders.LeftSize(value);
public static TSelf LeftSpace<TSelf>(TSelf wordParagraphBorders, OfficeLength? value) #

Sets WordParagraphBorders.LeftSpace: Gets or sets the left border spacing.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property              // C# fluent
wordParagraphBorders.LeftSpace = value;    wordParagraphBorders.LeftSpace(value);
public static TSelf LeftStyle<TSelf>(TSelf wordParagraphBorders, WordBorderStyle? value) #

Sets WordParagraphBorders.LeftStyle: Gets or sets the left border style.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordBorderStyle? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property              // C# fluent
wordParagraphBorders.LeftStyle = value;    wordParagraphBorders.LeftStyle(value);
public static TSelf LeftThemeColor<TSelf>(TSelf wordParagraphBorders, WordThemeColor? value) #

Sets WordParagraphBorders.LeftThemeColor: Gets or sets the left border theme color.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordThemeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                   // C# fluent
wordParagraphBorders.LeftThemeColor = value;    wordParagraphBorders.LeftThemeColor(value);
public static TSelf RightColor<TSelf>(TSelf wordParagraphBorders, OfficeColor? value) #

Sets WordParagraphBorders.RightColor: Gets or sets the right border color.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property               // C# fluent
wordParagraphBorders.RightColor = value;    wordParagraphBorders.RightColor(value);
public static TSelf RightFrame<TSelf>(TSelf wordParagraphBorders, bool? value = true) #

Sets WordParagraphBorders.RightFrame: Gets or sets a value indicating whether the right border is part of a frame.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property               // C# fluent
wordParagraphBorders.RightFrame = value;    wordParagraphBorders.RightFrame(value);
public static TSelf RightShadow<TSelf>(TSelf wordParagraphBorders, bool? value = true) #

Sets WordParagraphBorders.RightShadow: Gets or sets a value indicating whether the right border has a shadow.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                // C# fluent
wordParagraphBorders.RightShadow = value;    wordParagraphBorders.RightShadow(value);
public static TSelf RightSize<TSelf>(TSelf wordParagraphBorders, OfficeLength? value) #

Sets WordParagraphBorders.RightSize: Gets or sets the right border width as a physical length.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property              // C# fluent
wordParagraphBorders.RightSize = value;    wordParagraphBorders.RightSize(value);
public static TSelf RightSpace<TSelf>(TSelf wordParagraphBorders, OfficeLength? value) #

Sets WordParagraphBorders.RightSpace: Gets or sets the right border spacing.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property               // C# fluent
wordParagraphBorders.RightSpace = value;    wordParagraphBorders.RightSpace(value);
public static TSelf RightStyle<TSelf>(TSelf wordParagraphBorders, WordBorderStyle? value) #

Sets WordParagraphBorders.RightStyle: Gets or sets the right border style.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordBorderStyle? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property               // C# fluent
wordParagraphBorders.RightStyle = value;    wordParagraphBorders.RightStyle(value);
public static TSelf RightThemeColor<TSelf>(TSelf wordParagraphBorders, WordThemeColor? value) #

Sets WordParagraphBorders.RightThemeColor: Gets or sets the right border theme color.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordThemeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                    // C# fluent
wordParagraphBorders.RightThemeColor = value;    wordParagraphBorders.RightThemeColor(value);
public static TSelf TopColor<TSelf>(TSelf wordParagraphBorders, OfficeColor? value) #

Sets WordParagraphBorders.TopColor: Gets or sets the top border color.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property             // C# fluent
wordParagraphBorders.TopColor = value;    wordParagraphBorders.TopColor(value);
public static TSelf TopFrame<TSelf>(TSelf wordParagraphBorders, bool? value = true) #

Sets WordParagraphBorders.TopFrame: Gets or sets a value indicating whether the top border is part of a frame.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property             // C# fluent
wordParagraphBorders.TopFrame = value;    wordParagraphBorders.TopFrame(value);
public static TSelf TopShadow<TSelf>(TSelf wordParagraphBorders, bool? value = true) #

Sets WordParagraphBorders.TopShadow: Gets or sets a value indicating whether the top border has a shadow.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property              // C# fluent
wordParagraphBorders.TopShadow = value;    wordParagraphBorders.TopShadow(value);
public static TSelf TopSize<TSelf>(TSelf wordParagraphBorders, OfficeLength? value) #

Sets WordParagraphBorders.TopSize: Gets or sets the top border width as a physical length.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property            // C# fluent
wordParagraphBorders.TopSize = value;    wordParagraphBorders.TopSize(value);
public static TSelf TopSpace<TSelf>(TSelf wordParagraphBorders, OfficeLength? value) #

Sets WordParagraphBorders.TopSpace: Gets or sets the top border spacing.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property             // C# fluent
wordParagraphBorders.TopSpace = value;    wordParagraphBorders.TopSpace(value);
public static TSelf TopStyle<TSelf>(TSelf wordParagraphBorders, WordBorderStyle? value) #

Sets WordParagraphBorders.TopStyle: Gets or sets the top border style.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordBorderStyle? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property             // C# fluent
wordParagraphBorders.TopStyle = value;    wordParagraphBorders.TopStyle(value);
public static TSelf TopThemeColor<TSelf>(TSelf wordParagraphBorders, WordThemeColor? value) #

Sets WordParagraphBorders.TopThemeColor: Gets or sets the top border theme color.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordThemeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                  // C# fluent
wordParagraphBorders.TopThemeColor = value;    wordParagraphBorders.TopThemeColor(value);
public static TSelf Type<TSelf>(TSelf wordParagraphBorders, WordBorder value) #

Sets WordParagraphBorders.Type: Gets or sets the current border preset type.

Type Parameters

TSelf

Parameters

wordParagraphBorders TSelf required
The instance.
value OfficeIMO.Word.WordBorder required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property         // C# fluent
wordParagraphBorders.Type = value;    wordParagraphBorders.Type(value);