Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordSectionInfo

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • WordSectionInfo

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

Constructors

public WordSectionInfo() #

Properties

public int Index { get; internal set; } #

Gets the zero-based section index.

public string? SectionBreakType { get; internal set; } #

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

public string? Orientation { get; internal set; } #

Gets page orientation.

public OfficeLength? PageWidth { get; internal set; } #

Gets page width.

public OfficeLength? PageHeight { get; internal set; } #

Gets page height.

public OfficeLength? MarginTop { get; internal set; } #

Gets the top page margin.

public OfficeLength? MarginBottom { get; internal set; } #

Gets the bottom page margin.

public OfficeLength? MarginLeft { get; internal set; } #

Gets the left page margin.

public OfficeLength? MarginRight { get; internal set; } #

Gets the right page margin.

public OfficeLength? HeaderMargin { get; internal set; } #

Gets the header distance from the page edge.

public OfficeLength? FooterMargin { get; internal set; } #

Gets the footer distance from the page edge.

public int? ColumnCount { get; internal set; } #

Gets the section column count.

public OfficeLength? ColumnSpacing { get; internal set; } #

Gets spacing between columns.

public bool HasColumnSeparator { get; internal set; } #

Gets whether a rule separates section columns.

public int? PageNumberStart { get; internal set; } #

Gets the explicit starting page number.

public int HeaderCount { get; internal set; } #

Gets the number of header parts referenced by the section.

public int FooterCount { get; internal set; } #

Gets the number of footer parts referenced by the section.

public bool DifferentFirstPage { get; internal set; } #

Gets whether the first page uses distinct headers and footers.

public bool DifferentOddAndEvenPages { get; internal 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 bool DocumentOddEvenSettingEnabled { get; internal set; } #

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

public bool HasExplicitDefaultHeader { get; internal set; } #

Whether this section explicitly references a default header.

public bool HasExplicitDefaultFooter { get; internal set; } #

Whether this section explicitly references a default footer.

public bool HasExplicitFirstHeader { get; internal set; } #

Whether this section explicitly references a first-page header.

public bool HasExplicitFirstFooter { get; internal set; } #

Whether this section explicitly references a first-page footer.

public bool HasExplicitEvenHeader { get; internal set; } #

Whether this section explicitly references an even-page header.

public bool HasExplicitEvenFooter { get; internal set; } #

Whether this section explicitly references an even-page footer.

public WordHeaderFooterInfo? DefaultHeader { get; internal set; } #

Gets the default header snapshot.

public WordHeaderFooterInfo? DefaultFooter { get; internal set; } #

Gets the default footer snapshot.

public WordHeaderFooterInfo? FirstHeader { get; internal set; } #

Gets the first-page header snapshot.

public WordHeaderFooterInfo? FirstFooter { get; internal set; } #

Gets the first-page footer snapshot.

public WordHeaderFooterInfo? EvenHeader { get; internal set; } #

Gets the even-page header snapshot.

public WordHeaderFooterInfo? EvenFooter { get; internal set; } #

Gets the even-page footer snapshot.

public IReadOnlyList<WordBlockInfo> Elements { get; } #

Gets body paragraphs and tables in document order.