# WordWatermarkScope

Edits one WordWatermark: its fluent methods and keywords, each returning this scope.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

sealed

Edits one [WordWatermark](/api/word/officeimo-word-wordwatermark/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- WordWatermarkScope

## Usage

Explore 14 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 12

- Method [WordWatermarkScope.AllowInCell](/api/word/officeimo-word-wordwatermarkscope/#method-allowincell-nullable-system-boolean)
- Method [WordWatermarkScope.Color](/api/word/officeimo-word-wordwatermarkscope/#method-color-nullable-officeimo-officecolor)
- Method [WordWatermarkScope.FontFamily](/api/word/officeimo-word-wordwatermarkscope/#method-fontfamily-string)
- Method [WordWatermarkScope.FontSize](/api/word/officeimo-word-wordwatermarkscope/#method-fontsize-nullable-officeimo-officelength)
- Method [WordWatermarkScope.Height](/api/word/officeimo-word-wordwatermarkscope/#method-height-nullable-officeimo-officelength)
- Method [WordWatermarkScope.HorizontalOffset](/api/word/officeimo-word-wordwatermarkscope/#method-horizontaloffset-nullable-officeimo-officelength)
- Method [WordWatermarkScope.Opacity](/api/word/officeimo-word-wordwatermarkscope/#method-opacity-nullable-system-double)
- Method [WordWatermarkScope.Rotation](/api/word/officeimo-word-wordwatermarkscope/#method-rotation-nullable-system-int32)
- Method [WordWatermarkScope.Stroked](/api/word/officeimo-word-wordwatermarkscope/#method-stroked-boolean)
- Method [WordWatermarkScope.Text](/api/word/officeimo-word-wordwatermarkscope/#method-text-string)
- Method [WordWatermarkScope.VerticalOffset](/api/word/officeimo-word-wordwatermarkscope/#method-verticaloffset-nullable-officeimo-officelength)
- Method [WordWatermarkScope.Width](/api/word/officeimo-word-wordwatermarkscope/#method-width-nullable-officeimo-officelength)

### Accepted by parameters 2

- Method [WordHeaderScope.Watermark](/api/word/officeimo-word-wordheaderscope/#method-watermark-officeimo-word-wordwatermarkstyle-string-nullable-officeimo-officelength-nullable-officeimo-officelength-double-action-officeimo-word-wordwatermarkscope) parameter `configure`
- Method [WordSectionScope.Watermark](/api/word/officeimo-word-wordsectionscope/#method-watermark-officeimo-word-wordwatermarkstyle-string-nullable-officeimo-officelength-nullable-officeimo-officelength-double-action-officeimo-word-wordwatermarkscope) parameter `configure`

Filter members 

Show inherited

## Methods

`public WordWatermarkScope AllowInCell(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.

Parameters

**value bool? = true optional**

The value; true when omitted.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope Color(OfficeColor? value)` [#](#method-color-nullable-officeimo-officecolor)

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

Parameters

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope FontFamily(string? value)` [#](#method-fontfamily-string)

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

Parameters

**value string? required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope FontSize(OfficeLength? value)` [#](#method-fontsize-nullable-officeimo-officelength)

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

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope Height(OfficeLength? value)` [#](#method-height-nullable-officeimo-officelength)

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

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope HorizontalOffset(OfficeLength? value)` [#](#method-horizontaloffset-nullable-officeimo-officelength)

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

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope Opacity(double? value)` [#](#method-opacity-nullable-system-double)

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

Parameters

**value double? required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope Rotation(int? value)` [#](#method-rotation-nullable-system-int32)

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

Parameters

**value int? required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope Stroked(bool value = true)` [#](#method-stroked-boolean)

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

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope Text(string value)` [#](#method-text-string)

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

Parameters

**value string required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope VerticalOffset(OfficeLength? value)` [#](#method-verticaloffset-nullable-officeimo-officelength)

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

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`WordWatermarkScope` The same scope.

`public WordWatermarkScope Width(OfficeLength? value)` [#](#method-width-nullable-officeimo-officelength)

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

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`WordWatermarkScope` The same scope.

## 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?`

## Properties

`public WordWatermark Model { get; }` [#](#property-model)

The [WordWatermark](/api/word/officeimo-word-wordwatermark/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:134BDEB1E4E01A1EFC6F28EE1936A6D36E2D3BA3ADC012A1523E5DA8535D3638 -->
