WordSectionInfo
OfficeIMO.Word
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
- Property WordDocumentInfo.Sections
Constructors
public WordSectionInfo() #Inherited Methods
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? 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 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 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 HasExplicitFirstHeader { get; internal set; } #Whether this section explicitly references a first-page header.
public bool HasExplicitEvenHeader { get; internal set; } #Whether this section explicitly references an even-page header.
public WordHeaderFooterInfo? DefaultHeader { get; internal set; } #Gets the default header snapshot.
public WordHeaderFooterInfo? FirstHeader { get; internal set; } #Gets the first-page header snapshot.
public WordHeaderFooterInfo? EvenHeader { get; internal set; } #Gets the even-page header snapshot.
public IReadOnlyList<WordBlockInfo> Elements { get; } #Gets body paragraphs and tables in document order.