# PdfPageSetupMarginsFluent

The fluent methods of PdfPageSetupMargins, 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 [PdfPageSetupMargins](/api/pdf/officeimo-pdf-pdfpagesetupmargins/), 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
- PdfPageSetupMarginsFluent

Filter members 

Show inherited

## Methods

`public static PdfPageSetupMargins Bottom(PdfPageSetupMargins pdfPageSetupMargins, OfficeLength value)` [#](#method-bottom-officeimo-pdf-pdfpagesetupmargins-officeimo-officelength)

Sets [PdfPageSetupMargins.Bottom](/api/pdf/officeimo-pdf-pdfpagesetupmargins/): Bottom margin. Default comes from the theme (72 points without one).

Parameters

**pdfPageSetupMargins OfficeIMO.Pdf.PdfPageSetupMargins required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfPageSetupMargins` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
pdfPageSetupMargins.Bottom = value;    pdfPageSetupMargins.Bottom(value);
```

`public static PdfPageSetupMargins Left(PdfPageSetupMargins pdfPageSetupMargins, OfficeLength value)` [#](#method-left-officeimo-pdf-pdfpagesetupmargins-officeimo-officelength)

Sets [PdfPageSetupMargins.Left](/api/pdf/officeimo-pdf-pdfpagesetupmargins/): Left margin. Default comes from the theme (72 points without one).

Parameters

**pdfPageSetupMargins OfficeIMO.Pdf.PdfPageSetupMargins required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfPageSetupMargins` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
pdfPageSetupMargins.Left = value;    pdfPageSetupMargins.Left(value);
```

`public static PdfPageSetupMargins Right(PdfPageSetupMargins pdfPageSetupMargins, OfficeLength value)` [#](#method-right-officeimo-pdf-pdfpagesetupmargins-officeimo-officelength)

Sets [PdfPageSetupMargins.Right](/api/pdf/officeimo-pdf-pdfpagesetupmargins/): Right margin. Default comes from the theme (72 points without one).

Parameters

**pdfPageSetupMargins OfficeIMO.Pdf.PdfPageSetupMargins required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfPageSetupMargins` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
pdfPageSetupMargins.Right = value;    pdfPageSetupMargins.Right(value);
```

`public static PdfPageSetupMargins Top(PdfPageSetupMargins pdfPageSetupMargins, OfficeLength value)` [#](#method-top-officeimo-pdf-pdfpagesetupmargins-officeimo-officelength)

Sets [PdfPageSetupMargins.Top](/api/pdf/officeimo-pdf-pdfpagesetupmargins/): Top margin. Default comes from the theme (72 points without one).

Parameters

**pdfPageSetupMargins OfficeIMO.Pdf.PdfPageSetupMargins required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfPageSetupMargins` The same instance.

Examples

```csharp
// C# initializer or property       // C# fluent
pdfPageSetupMargins.Top = value;    pdfPageSetupMargins.Top(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:B47F1469C7F3F05D42B5D34D4B557454006039308AF2CC784D365A31493035B1 -->
