Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

WordSectionSnapshot

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Modifiers sealed

Page setup, headers, footers, and body elements for one Word section.

Inheritance

  • Object
  • WordSectionSnapshot

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

Properties

public Int32 Index { get; set; } #

Gets the zero-based section index.

public String SectionBreakType { get; set; } #

Gets the resolved section-break type, including Word's default when no type was authored.

public String Orientation { get; set; } #

Gets page orientation.

public Nullable<Double> PageWidthPoints { get; set; } #

Gets page width in points.

public Nullable<Double> PageHeightPoints { get; set; } #

Gets page height in points.

public Nullable<Double> MarginTopPoints { get; set; } #

Gets the top page margin in points.

public Nullable<Double> MarginBottomPoints { get; set; } #

Gets the bottom page margin in points.

public Nullable<Double> MarginLeftPoints { get; set; } #

Gets the left page margin in points.

public Nullable<Double> MarginRightPoints { get; set; } #

Gets the right page margin in points.

public Nullable<Double> HeaderMarginPoints { get; set; } #

Gets the header distance from the page edge in points.

public Nullable<Double> FooterMarginPoints { get; set; } #

Gets the footer distance from the page edge in points.

public Nullable<Int32> ColumnCount { get; set; } #

Gets the section column count.

public Nullable<Double> ColumnSpacingPoints { get; set; } #

Gets spacing between columns in points.

public Boolean HasColumnSeparator { get; set; } #

Gets whether a rule separates section columns.

public Nullable<Int32> PageNumberStart { get; set; } #

Gets the explicit starting page number.

public Int32 HeaderCount { get; set; } #

Gets the number of header parts referenced by the section.

public Int32 FooterCount { get; set; } #

Gets the number of footer parts referenced by the section.

public Boolean DifferentFirstPage { get; set; } #

Gets whether the first page uses distinct headers and footers.

public Boolean DifferentOddAndEvenPages { get; set; } #

Gets whether the section uses an explicit or inherited even-page header or footer while the document-wide odd/even setting is enabled.

public Boolean DocumentOddEvenSettingEnabled { get; set; } #

Whether the document-wide odd/even header setting is enabled, even when this section has no even-page part.

public Boolean HasExplicitDefaultHeader { get; set; } #

Whether this section explicitly references a default header.

public Boolean HasExplicitDefaultFooter { get; set; } #

Whether this section explicitly references a default footer.

public Boolean HasExplicitFirstHeader { get; set; } #

Whether this section explicitly references a first-page header.

public Boolean HasExplicitFirstFooter { get; set; } #

Whether this section explicitly references a first-page footer.

public Boolean HasExplicitEvenHeader { get; set; } #

Whether this section explicitly references an even-page header.

public Boolean HasExplicitEvenFooter { get; set; } #

Whether this section explicitly references an even-page footer.

public WordHeaderFooterSnapshot DefaultHeader { get; set; } #

Gets the default header snapshot.

public WordHeaderFooterSnapshot DefaultFooter { get; set; } #

Gets the default footer snapshot.

public WordHeaderFooterSnapshot FirstHeader { get; set; } #

Gets the first-page header snapshot.

public WordHeaderFooterSnapshot FirstFooter { get; set; } #

Gets the first-page footer snapshot.

public WordHeaderFooterSnapshot EvenHeader { get; set; } #

Gets the even-page header snapshot.

public WordHeaderFooterSnapshot EvenFooter { get; set; } #

Gets the even-page footer snapshot.

public IReadOnlyList<WordBlockSnapshot> Elements { get; } #

Gets body paragraphs and tables in document order.