Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordLineFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordLine, 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
  • WordLineFluent

Methods

public static TSelf Color<TSelf>(TSelf wordLine, OfficeColor value) #

Sets WordLine.Color: Gets or sets the stroke color using OfficeColor.

Type Parameters

TSelf

Parameters

wordLine TSelf required
The instance.
value OfficeIMO.OfficeColor required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
wordLine.Color = value;          wordLine.Color(value);
public static TSelf StrokeWeight<TSelf>(TSelf wordLine, OfficeLength value) #

Sets WordLine.StrokeWeight: Gets or sets the physical stroke thickness.

Type Parameters

TSelf

Parameters

wordLine TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property     // C# fluent
wordLine.StrokeWeight = value;    wordLine.StrokeWeight(value);