Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordTableStyleDetailsFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordTableStyleDetails, 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
  • WordTableStyleDetailsFluent

Methods

public static TSelf BordersForAllSides<TSelf>(TSelf wordTableStyleDetails, WordBorderStyle style, OfficeLength size, OfficeColor color) #

Creates and sets a TableBorders object with the specified border settings

Type Parameters

TSelf

Parameters

wordTableStyleDetails TSelf required
The instance.
style OfficeIMO.Word.WordBorderStyle required
Border style for all sides
size OfficeIMO.OfficeLength required
Nonnegative thickness, rounded to eighths of a point within the native unsigned 32-bit range.
color OfficeIMO.OfficeColor required
Border color for all sides

Returns

TSelf The same instance.
public static TSelf BordersOutsideInside<TSelf>(TSelf wordTableStyleDetails, WordBorderStyle outsideStyle, OfficeLength outsideSize, OfficeColor outsideColor, WordBorderStyle insideStyle, OfficeLength insideSize, OfficeColor insideColor) #

Creates a TableBorders object with different settings for outside and inside borders

Type Parameters

TSelf

Parameters

wordTableStyleDetails TSelf required
The instance.
outsideStyle OfficeIMO.Word.WordBorderStyle required
Style for outside borders
outsideSize OfficeIMO.OfficeLength required
Nonnegative outside thickness, rounded to eighths of a point.
outsideColor OfficeIMO.OfficeColor required
Color for outside borders
insideStyle OfficeIMO.Word.WordBorderStyle required
Style for inside borders
insideSize OfficeIMO.OfficeLength required
Nonnegative inside thickness, rounded to eighths of a point.
insideColor OfficeIMO.OfficeColor required
Color for inside borders

Returns

TSelf The same instance.
public static TSelf CellSpacing<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value) #

Sets WordTableStyleDetails.CellSpacing: Gets or sets nonnegative cell spacing; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                 // C# fluent
wordTableStyleDetails.CellSpacing = value;    wordTableStyleDetails.CellSpacing(value);
public static TSelf CustomBorders<TSelf>(TSelf wordTableStyleDetails, WordBorderStyle? topStyle = null, OfficeLength? topSize = null, OfficeColor? topColor = null, WordBorderStyle? bottomStyle = null, OfficeLength? bottomSize = null, OfficeColor? bottomColor = null, WordBorderStyle? leftStyle = null, OfficeLength? leftSize = null, OfficeColor? leftColor = null, WordBorderStyle? rightStyle = null, OfficeLength? rightSize = null, OfficeColor? rightColor = null, WordBorderStyle? insideHStyle = null, OfficeLength? insideHSize = null, OfficeColor? insideHColor = null, WordBorderStyle? insideVStyle = null, OfficeLength? insideVSize = null, OfficeColor? insideVColor = null) #

Updates only the supplied border settings. Null arguments preserve existing values. Thicknesses are nonnegative and round to eighths of a point within the native unsigned 32-bit range. All thicknesses are validated before any border is changed.

Type Parameters

TSelf

Parameters

wordTableStyleDetails TSelf required
The instance.
topStyle OfficeIMO.Word.WordBorderStyle? = null optional
Optional border style.
topSize OfficeIMO.OfficeLength? = null optional
Optional physical thickness; zero remains explicit.
topColor OfficeIMO.OfficeColor? = null optional
Optional border color.
bottomStyle OfficeIMO.Word.WordBorderStyle? = null optional
Optional border style.
bottomSize OfficeIMO.OfficeLength? = null optional
Optional physical thickness; zero remains explicit.
bottomColor OfficeIMO.OfficeColor? = null optional
Optional border color.
leftStyle OfficeIMO.Word.WordBorderStyle? = null optional
Optional border style.
leftSize OfficeIMO.OfficeLength? = null optional
Optional physical thickness; zero remains explicit.
leftColor OfficeIMO.OfficeColor? = null optional
Optional border color.
rightStyle OfficeIMO.Word.WordBorderStyle? = null optional
Optional border style.
rightSize OfficeIMO.OfficeLength? = null optional
Optional physical thickness; zero remains explicit.
rightColor OfficeIMO.OfficeColor? = null optional
Optional border color.
insideHStyle OfficeIMO.Word.WordBorderStyle? = null optional
Optional border style.
insideHSize OfficeIMO.OfficeLength? = null optional
Optional physical thickness; zero remains explicit.
insideHColor OfficeIMO.OfficeColor? = null optional
Optional border color.
insideVStyle OfficeIMO.Word.WordBorderStyle? = null optional
Optional border style.
insideVSize OfficeIMO.OfficeLength? = null optional
Optional physical thickness; zero remains explicit.
insideVColor OfficeIMO.OfficeColor? = null optional
Optional border color.

Returns

TSelf The same instance.
public static TSelf MarginDefaultBottom<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value) #

Sets WordTableStyleDetails.MarginDefaultBottom: Gets or sets the nonnegative default bottom cell margin; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                         // C# fluent
wordTableStyleDetails.MarginDefaultBottom = value;    wordTableStyleDetails.MarginDefaultBottom(value);
public static TSelf MarginDefaultLeft<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value) #

Sets WordTableStyleDetails.MarginDefaultLeft: Gets or sets the nonnegative default left cell margin; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                       // C# fluent
wordTableStyleDetails.MarginDefaultLeft = value;    wordTableStyleDetails.MarginDefaultLeft(value);
public static TSelf MarginDefaultRight<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value) #

Sets WordTableStyleDetails.MarginDefaultRight: Gets or sets the nonnegative default right cell margin; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                        // C# fluent
wordTableStyleDetails.MarginDefaultRight = value;    wordTableStyleDetails.MarginDefaultRight(value);
public static TSelf MarginDefaultTop<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value) #

Sets WordTableStyleDetails.MarginDefaultTop: Gets or sets the nonnegative default top cell margin; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                      // C# fluent
wordTableStyleDetails.MarginDefaultTop = value;    wordTableStyleDetails.MarginDefaultTop(value);
public static TSelf ShadingColor<TSelf>(TSelf wordTableStyleDetails, OfficeColor? value) #

Sets WordTableStyleDetails.ShadingColor: Gets or sets the direct shading pattern color. Null clears only that color.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                  // C# fluent
wordTableStyleDetails.ShadingColor = value;    wordTableStyleDetails.ShadingColor(value);
public static TSelf ShadingFillColor<TSelf>(TSelf wordTableStyleDetails, OfficeColor? value) #

Sets WordTableStyleDetails.ShadingFillColor: Gets or sets the direct table fill color. Null removes direct table shading.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                      // C# fluent
wordTableStyleDetails.ShadingFillColor = value;    wordTableStyleDetails.ShadingFillColor(value);
public static TSelf ShadingPattern<TSelf>(TSelf wordTableStyleDetails, WordShadingPattern? value) #

Sets WordTableStyleDetails.ShadingPattern: Gets or sets the direct table shading pattern. Null removes direct table shading.

Type Parameters

TSelf

Parameters

wordTableStyleDetails TSelf required
The instance.
value OfficeIMO.Word.WordShadingPattern? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                    // C# fluent
wordTableStyleDetails.ShadingPattern = value;    wordTableStyleDetails.ShadingPattern(value);
public static TSelf TableIndentation<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value) #

Sets WordTableStyleDetails.TableIndentation: Gets or sets signed table indentation; null removes the direct override. Values round to whole twips within the signed 32-bit native range.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                      // C# fluent
wordTableStyleDetails.TableIndentation = value;    wordTableStyleDetails.TableIndentation(value);