Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OdtPageLayout

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Source revision 804a7612eee4 with working tree changes
Modifiers sealed

An XML-backed ODT page layout and its standard master page.

Inheritance

  • Object
  • OdtPageLayout

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

Methods

public OdtHeaderFooter EnsureFirstFooter() #
Returns: OdtHeaderFooter

Creates or returns the distinct first-page footer.

public OdtHeaderFooter EnsureFirstHeader() #
Returns: OdtHeaderFooter

Creates or returns the distinct first-page header.

public OdtHeaderFooter EnsureLeftFooter() #
Returns: OdtHeaderFooter

Creates or returns the left-page footer.

public OdtHeaderFooter EnsureLeftHeader() #
Returns: OdtHeaderFooter

Creates or returns the left-page header.

Properties

public OdfLength Width { get; set; } #

Page width.

public OdfLength Height { get; set; } #

Page height.

public OdfLength MarginTop { get; set; } #

Top page margin.

public OdfLength MarginBottom { get; set; } #

Bottom page margin.

public OdfLength MarginLeft { get; set; } #

Left page margin.

public OdfLength MarginRight { get; set; } #

Right page margin.

public OdtHeaderFooter Header { get; } #

Master-page header content.

public Boolean HasHeader { get; } #

Whether the master already defines a default header.

public Boolean HasFooter { get; } #

Whether the master already defines a default footer.

public OdtHeaderFooter? FirstHeader { get; } #

First-page header content, when the master defines a distinct first page.

public OdtHeaderFooter? FirstFooter { get; } #

First-page footer content, when the master defines a distinct first page.

public OdtHeaderFooter? LeftHeader { get; } #

Left-page header content, used for even pages in a standard left-to-right document.

public OdtHeaderFooter? LeftFooter { get; } #

Left-page footer content, used for even pages in a standard left-to-right document.