Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordPaperStyleFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordPaperStyle, 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
  • WordPaperStyleFluent

Methods

public static WordPaperStyle Accent(WordPaperStyle wordPaperStyle, string value) #

Sets WordPaperStyle.Accent: Gets or sets the eyebrow and label accent, as RGB hex.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value string required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { Accent = value };    wordPaperStyle.Accent(value);
public static WordPaperStyle Border(WordPaperStyle wordPaperStyle, string value) #

Sets WordPaperStyle.Border: Gets or sets horizontal table rule color, as RGB hex.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value string required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { Border = value };    wordPaperStyle.Border(value);
public static WordPaperStyle DisplayFontFamily(WordPaperStyle wordPaperStyle, string value) #

Sets WordPaperStyle.DisplayFontFamily: Gets or sets the display typeface.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value string required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { DisplayFontFamily = value };    wordPaperStyle.DisplayFontFamily(value);
public static WordPaperStyle FontFamily(WordPaperStyle wordPaperStyle, string value) #

Sets WordPaperStyle.FontFamily: Gets or sets the body typeface.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value string required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { FontFamily = value };    wordPaperStyle.FontFamily(value);
public static WordPaperStyle Ink(WordPaperStyle wordPaperStyle, string value) #

Sets WordPaperStyle.Ink: Gets or sets the primary text color, as RGB hex.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value string required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { Ink = value };    wordPaperStyle.Ink(value);
public static WordPaperStyle Muted(WordPaperStyle wordPaperStyle, string value) #

Sets WordPaperStyle.Muted: Gets or sets secondary text color, as RGB hex.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value string required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { Muted = value };    wordPaperStyle.Muted(value);
public static WordPaperStyle RuleSize(WordPaperStyle wordPaperStyle, OfficeLength value) #

Sets WordPaperStyle.RuleSize: Gets or sets the nonnegative hairline thickness; the default is 0.5 pt. Serialization rounds to eighths of a point.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { RuleSize = value };    wordPaperStyle.RuleSize(value);
public static WordPaperStyle Surface(WordPaperStyle wordPaperStyle, string value) #

Sets WordPaperStyle.Surface: Gets or sets the quiet table header and metric surface, as RGB hex.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value string required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { Surface = value };    wordPaperStyle.Surface(value);
public static WordPaperStyle TableCellHorizontalPadding(WordPaperStyle wordPaperStyle, OfficeLength value) #

Sets WordPaperStyle.TableCellHorizontalPadding: Gets or sets nonnegative left and right table-cell padding; the default is 5 pt. Rounded twips must fit 0 through 32767.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { TableCellHorizontalPadding = value };    wordPaperStyle.TableCellHorizontalPadding(value);
public static WordPaperStyle TableCellVerticalPadding(WordPaperStyle wordPaperStyle, OfficeLength value) #

Sets WordPaperStyle.TableCellVerticalPadding: Gets or sets nonnegative top and bottom table-cell padding; the default is 4.5 pt. Rounded twips must fit 0 through 32767.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { TableCellVerticalPadding = value };    wordPaperStyle.TableCellVerticalPadding(value);
public static WordPaperStyle TableFontSize(WordPaperStyle wordPaperStyle, OfficeLength value) #

Sets WordPaperStyle.TableFontSize: Gets or sets table body type size in points. Header cells use 9 points.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { TableFontSize = value };    wordPaperStyle.TableFontSize(value);
public static WordPaperStyle TableLineSpacing(WordPaperStyle wordPaperStyle, OfficeLength? value) #

Sets WordPaperStyle.TableLineSpacing: Gets or sets nonnegative exact table line height; null preserves inherited spacing and zero remains explicit. Rounded twips must fit a signed 32-bit integer.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { TableLineSpacing = value };    wordPaperStyle.TableLineSpacing(value);
public static WordPaperStyle TableParagraphSpacing(WordPaperStyle wordPaperStyle, OfficeLength value) #

Sets WordPaperStyle.TableParagraphSpacing: Gets or sets nonnegative spacing before and after table paragraphs; the default is 2 pt. Rounded twips must fit a signed 32-bit integer.

Parameters

wordPaperStyle OfficeIMO.Word.WordPaperStyle required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

WordPaperStyle The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Word.WordPaperStyle { TableParagraphSpacing = value };    wordPaperStyle.TableParagraphSpacing(value);