# PdfPageBackgroundImageFluent

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

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfPageBackgroundImage](/api/pdf/officeimo-pdf-pdfpagebackgroundimage/), 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
- PdfPageBackgroundImageFluent

Filter members 

Show inherited

## Methods

`public static PdfPageBackgroundImage Fit(PdfPageBackgroundImage pdfPageBackgroundImage, OfficeImageFit value)` [#](#method-fit-officeimo-pdf-pdfpagebackgroundimage-officeimo-drawing-officeimagefit)

Sets [PdfPageBackgroundImage.Fit](/api/pdf/officeimo-pdf-pdfpagebackgroundimage/): How the image is fitted into the page box.

Parameters

**pdfPageBackgroundImage OfficeIMO.Pdf.PdfPageBackgroundImage required**

The instance.

**value OfficeIMO.Drawing.OfficeImageFit required**

The value.

Returns

`PdfPageBackgroundImage` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
pdfPageBackgroundImage.Fit = value;    pdfPageBackgroundImage.Fit(value);
```

`public static PdfPageBackgroundImage Opacity(PdfPageBackgroundImage pdfPageBackgroundImage, double value)` [#](#method-opacity-officeimo-pdf-pdfpagebackgroundimage-double)

Sets [PdfPageBackgroundImage.Opacity](/api/pdf/officeimo-pdf-pdfpagebackgroundimage/): Image opacity from 0 to 1. Defaults to 1.

Parameters

**pdfPageBackgroundImage OfficeIMO.Pdf.PdfPageBackgroundImage required**

The instance.

**value double required**

The value.

Returns

`PdfPageBackgroundImage` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
pdfPageBackgroundImage.Opacity = value;    pdfPageBackgroundImage.Opacity(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:58C991FA0584E0DEE968A288D99ECC8002D8C6607487628763ED132CBD83B6AB -->
