Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordBordersFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordBorders, 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
  • WordBordersFluent

Methods

public static TSelf BottomColor<TSelf>(TSelf wordBorders, OfficeColor? value) #

Sets WordBorders.BottomColor: Gets or sets the bottom border color using a OfficeColor value.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

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

Type Parameters

TSelf

Parameters

wordBorders 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
wordBorders.BottomFrame = value;    wordBorders.BottomFrame(value);
public static TSelf BottomShadow<TSelf>(TSelf wordBorders, bool? value = true) #

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

Type Parameters

TSelf

Parameters

wordBorders 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
wordBorders.BottomShadow = value;    wordBorders.BottomShadow(value);
public static TSelf BottomSize<TSelf>(TSelf wordBorders, OfficeLength? value) #

Sets WordBorders.BottomSize: Gets or sets the width of the bottom border.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.BottomSpace: Gets or sets the space between the bottom border and page text.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.BottomStyle: Gets or sets the style of the bottom border.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.LeftColor: Gets or sets the left border color using a OfficeColor value.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

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

Type Parameters

TSelf

Parameters

wordBorders 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
wordBorders.LeftFrame = value;    wordBorders.LeftFrame(value);
public static TSelf LeftShadow<TSelf>(TSelf wordBorders, bool? value = true) #

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

Type Parameters

TSelf

Parameters

wordBorders 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
wordBorders.LeftShadow = value;    wordBorders.LeftShadow(value);
public static TSelf LeftSize<TSelf>(TSelf wordBorders, OfficeLength? value) #

Sets WordBorders.LeftSize: Gets or sets the width of the left border.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.LeftSpace: Gets or sets the space between the left border and page text.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.LeftStyle: Gets or sets the style of the left border.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.RightColor: Gets or sets the right border color using a OfficeColor value.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

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

Type Parameters

TSelf

Parameters

wordBorders 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
wordBorders.RightFrame = value;    wordBorders.RightFrame(value);
public static TSelf RightShadow<TSelf>(TSelf wordBorders, bool? value = true) #

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

Type Parameters

TSelf

Parameters

wordBorders 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
wordBorders.RightShadow = value;    wordBorders.RightShadow(value);
public static TSelf RightSize<TSelf>(TSelf wordBorders, OfficeLength? value) #

Sets WordBorders.RightSize: Gets or sets the width of the right border.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.RightSpace: Gets or sets the space between the right border and page text.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.RightStyle: Gets or sets the style of the right border.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.TopColor: Gets or sets the top border color using a OfficeColor value.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

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

Type Parameters

TSelf

Parameters

wordBorders 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
wordBorders.TopFrame = value;    wordBorders.TopFrame(value);
public static TSelf TopShadow<TSelf>(TSelf wordBorders, bool? value = true) #

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

Type Parameters

TSelf

Parameters

wordBorders 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
wordBorders.TopShadow = value;    wordBorders.TopShadow(value);
public static TSelf TopSize<TSelf>(TSelf wordBorders, OfficeLength? value) #

Sets WordBorders.TopSize: Gets or sets the width of the top border.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.TopSpace: Gets or sets the space between the top border and page text.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.TopStyle: Gets or sets the style of the top border.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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

Sets WordBorders.Type: Gets or sets the preset border configuration applied to the section.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

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