# OdpMasterPage

An XML-backed ODP master page.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdpMasterPage.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpMasterPage.cs#L9)

**Modifiers**

sealed

An XML-backed ODP master page.

## Inheritance

- object
- OdpMasterPage

## Usage

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

- Method [OdpPresentation.AddMasterPage](/api/open-document/officeimo-opendocument-odppresentation/#method-addmasterpage-string)
- Property [OdpPresentation.MasterPages](/api/open-document/officeimo-opendocument-odppresentation/#property-masterpages)

Filter members 

Show inherited

## 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 string Name { get; }` [#](#property-name)

[OdpMasterPage.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpMasterPage.cs#L9)

Master page name.

`public string? PageLayoutName { get; }` [#](#property-pagelayoutname)

[OdpMasterPage.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpMasterPage.cs#L11)

Page layout name.

`public IReadOnlyList<OdpShape> Shapes { get; }` [#](#property-shapes)

[OdpMasterPage.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpMasterPage.cs#L13)

Supported native shapes authored on this master, in XML order. Reading does not create or apply master content.

`public OdfColor? BackgroundColor { get; set; }` [#](#property-backgroundcolor)

[OdpMasterPage.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpMasterPage.cs#L18)

Background fill color.

<!-- PowerForge markdown artifact sha256:AC3248F7F601391F459BE0034BDA5ED7F055498421708CF073C3DE55C9116C7F -->
