# OneNotePageMargins

Page margins and margin origins in OneNote half-inch units.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNotePage.cs:135](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNotePage.cs#L135)

**Modifiers**

sealed

Page margins and margin origins in OneNote half-inch units.

## Inheritance

- object
- OneNotePageMargins

## Usage

Explore 1 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 1

- Property [OneNotePage.Margins](/api/onenote/officeimo-onenote-onenotepage/#property-margins)

Filter members 

Show inherited

## Constructors

`public OneNotePageMargins()` [#](#constructor-ctor)

## 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 double? Left { get; set; }` [#](#property-left)

[OneNotePage.cs:135](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNotePage.cs#L135)

Left margin width.

`public double? Right { get; set; }` [#](#property-right)

[OneNotePage.cs:137](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNotePage.cs#L137)

Right margin width.

`public double? Top { get; set; }` [#](#property-top)

[OneNotePage.cs:139](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNotePage.cs#L139)

Top margin width.

`public double? Bottom { get; set; }` [#](#property-bottom)

[OneNotePage.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNotePage.cs#L141)

Bottom margin width.

`public double? OriginX { get; set; }` [#](#property-originx)

[OneNotePage.cs:143](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNotePage.cs#L143)

Horizontal margin origin.

`public double? OriginY { get; set; }` [#](#property-originy)

[OneNotePage.cs:145](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNotePage.cs#L145)

Vertical margin origin.

<!-- PowerForge markdown artifact sha256:8DFDA579E38FB4AA48B4C4937CEBE4ED9C4A4A0135863106599BA0631AEA90A4 -->
