ODF .NET Class Library
Show/Hide TOC

# MasterPage Class

Represents the content of headers and footers.

## Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class MasterPage

VB

    Public Class MasterPage

Inheritance
  Object MasterPage

## Constructors

MasterPage | Initializes a new instance of the MasterPage class.

## Properties

BaseStyles | Contains a collection of BaseStyle objects.
DisplayName | Specifies the name that defines a style.
FirstPageFooter | Specifies the content for the footer for the first page.
FirstPageHeader | Specifies the content for the header for the first page.
Footer | Specifies the content of the footer.
Header | Specifies the content of the header.
LeftPageFooter | Specifies the content for the footer for the left page, if different from the right page.
LeftPageHeader | Specifies the content for the header for the left page, if different from the right page.
Name | Specifies the name.
NextStyle | Specifies the name of the master page that is used for the next page if the current page is entirely filled.
PageLayout | Specifies the page layout style that contains sizes, border and orientation attributes.
PageStyle | Specifies the page style.
Shapes | Contains a collection of Shape objects.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current MasterPage object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace