# WordWatermarkFluent

The fluent methods of WordWatermark, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordWatermark](/api/word/officeimo-word-wordwatermark/), 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
- WordWatermarkFluent

Filter members 

Show inherited

## Methods

`public static TSelf AllowInCell<TSelf>(TSelf wordWatermark, bool? value = true)` [#](#method-allowincell-nullable-system-boolean)

Sets [WordWatermark.AllowInCell](/api/word/officeimo-word-wordwatermark/): Gets or sets whether the watermark can be placed inside a cell.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
wordWatermark.AllowInCell = value;    wordWatermark.AllowInCell(value);
```

`public static TSelf Color<TSelf>(TSelf wordWatermark, OfficeColor? value)` [#](#method-color-nullable-officeimo-officecolor)

Sets [WordWatermark.Color](/api/word/officeimo-word-wordwatermark/): Gets or sets the watermark's fill color.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordWatermark.Color = value;     wordWatermark.Color(value);
```

`public static TSelf FontFamily<TSelf>(TSelf wordWatermark, string? value)` [#](#method-fontfamily-string)

Sets [WordWatermark.FontFamily](/api/word/officeimo-word-wordwatermark/): Gets or sets the font family used for text.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
wordWatermark.FontFamily = value;    wordWatermark.FontFamily(value);
```

`public static TSelf FontSize<TSelf>(TSelf wordWatermark, OfficeLength? value)` [#](#method-fontsize-nullable-officeimo-officelength)

Sets [WordWatermark.FontSize](/api/word/officeimo-word-wordwatermark/): Gets or sets the watermark text's font size.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
wordWatermark.FontSize = value;    wordWatermark.FontSize(value);
```

`public static TSelf Height<TSelf>(TSelf wordWatermark, OfficeLength? value)` [#](#method-height-nullable-officeimo-officelength)

Sets [WordWatermark.Height](/api/word/officeimo-word-wordwatermark/): Gets or sets the physical watermark height.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordWatermark.Height = value;    wordWatermark.Height(value);
```

`public static TSelf HorizontalOffset<TSelf>(TSelf wordWatermark, OfficeLength? value)` [#](#method-horizontaloffset-nullable-officeimo-officelength)

Sets [WordWatermark.HorizontalOffset](/api/word/officeimo-word-wordwatermark/): Gets or sets the horizontal watermark offset.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
wordWatermark.HorizontalOffset = value;    wordWatermark.HorizontalOffset(value);
```

`public static TSelf Opacity<TSelf>(TSelf wordWatermark, double? value)` [#](#method-opacity-nullable-system-double)

Sets [WordWatermark.Opacity](/api/word/officeimo-word-wordwatermark/): Gets or sets fill opacity from zero to one.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value double? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
wordWatermark.Opacity = value;    wordWatermark.Opacity(value);
```

`public static TSelf Rotation<TSelf>(TSelf wordWatermark, int? value)` [#](#method-rotation-nullable-system-int32)

Sets [WordWatermark.Rotation](/api/word/officeimo-word-wordwatermark/): Gets or sets rotation in degrees.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value int? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
wordWatermark.Rotation = value;    wordWatermark.Rotation(value);
```

`public static TSelf Stroked<TSelf>(TSelf wordWatermark, bool value = true)` [#](#method-stroked-boolean)

Sets [WordWatermark.Stroked](/api/word/officeimo-word-wordwatermark/): Gets or sets whether the watermark is outlined.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
wordWatermark.Stroked = value;    wordWatermark.Stroked(value);
```

`public static TSelf Text<TSelf>(TSelf wordWatermark, string value)` [#](#method-text-string)

Sets [WordWatermark.Text](/api/word/officeimo-word-wordwatermark/): Gets or sets the watermark text.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value string required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordWatermark.Text = value;      wordWatermark.Text(value);
```

`public static TSelf VerticalOffset<TSelf>(TSelf wordWatermark, OfficeLength? value)` [#](#method-verticaloffset-nullable-officeimo-officelength)

Sets [WordWatermark.VerticalOffset](/api/word/officeimo-word-wordwatermark/): Gets or sets the vertical watermark offset.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property            // C# fluent
wordWatermark.VerticalOffset = value;    wordWatermark.VerticalOffset(value);
```

`public static TSelf Width<TSelf>(TSelf wordWatermark, OfficeLength? value)` [#](#method-width-nullable-officeimo-officelength)

Sets [WordWatermark.Width](/api/word/officeimo-word-wordwatermark/): Gets or sets the physical watermark width.

Type Parameters

**TSelf**

Parameters

**wordWatermark TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordWatermark.Width = value;     wordWatermark.Width(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:7EC74BC4A6B7162A09B81CAAFB1A86BC751A86FB2BBDB8AAA1D6B2A8530686DE -->
