WordTableStyleDetailsFluent
OfficeIMO.Word
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
- The instance.
- style OfficeIMO.Word.WordBorderStyle
- Border style for all sides
- size OfficeIMO.OfficeLength
- Nonnegative thickness, rounded to eighths of a point within the native unsigned 32-bit range.
- color OfficeIMO.OfficeColor
- 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
- The instance.
- outsideStyle OfficeIMO.Word.WordBorderStyle
- Style for outside borders
- outsideSize OfficeIMO.OfficeLength
- Nonnegative outside thickness, rounded to eighths of a point.
- outsideColor OfficeIMO.OfficeColor
- Color for outside borders
- insideStyle OfficeIMO.Word.WordBorderStyle
- Style for inside borders
- insideSize OfficeIMO.OfficeLength
- Nonnegative inside thickness, rounded to eighths of a point.
- insideColor OfficeIMO.OfficeColor
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- topStyle OfficeIMO.Word.WordBorderStyle? = null
- Optional border style.
- topSize OfficeIMO.OfficeLength? = null
- Optional physical thickness; zero remains explicit.
- topColor OfficeIMO.OfficeColor? = null
- Optional border color.
- bottomStyle OfficeIMO.Word.WordBorderStyle? = null
- Optional border style.
- bottomSize OfficeIMO.OfficeLength? = null
- Optional physical thickness; zero remains explicit.
- bottomColor OfficeIMO.OfficeColor? = null
- Optional border color.
- leftStyle OfficeIMO.Word.WordBorderStyle? = null
- Optional border style.
- leftSize OfficeIMO.OfficeLength? = null
- Optional physical thickness; zero remains explicit.
- leftColor OfficeIMO.OfficeColor? = null
- Optional border color.
- rightStyle OfficeIMO.Word.WordBorderStyle? = null
- Optional border style.
- rightSize OfficeIMO.OfficeLength? = null
- Optional physical thickness; zero remains explicit.
- rightColor OfficeIMO.OfficeColor? = null
- Optional border color.
- insideHStyle OfficeIMO.Word.WordBorderStyle? = null
- Optional border style.
- insideHSize OfficeIMO.OfficeLength? = null
- Optional physical thickness; zero remains explicit.
- insideHColor OfficeIMO.OfficeColor? = null
- Optional border color.
- insideVStyle OfficeIMO.Word.WordBorderStyle? = null
- Optional border style.
- insideVSize OfficeIMO.OfficeLength? = null
- Optional physical thickness; zero remains explicit.
- insideVColor OfficeIMO.OfficeColor? = null
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- value OfficeIMO.OfficeColor?
- 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
- The instance.
- value OfficeIMO.OfficeColor?
- 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
- The instance.
- value OfficeIMO.Word.WordShadingPattern?
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableStyleDetails.TableIndentation = value; wordTableStyleDetails.TableIndentation(value);