API Reference
WordSectionSnapshot
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
- Property WordDocumentSnapshot.Sections
Constructors
public WordSectionSnapshot() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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<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 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 HasExplicitFirstHeader { get; set; } #Whether this section explicitly references a first-page header.
public Boolean HasExplicitEvenHeader { get; set; } #Whether this section explicitly references an even-page header.
public WordHeaderFooterSnapshot DefaultHeader { get; set; } #Gets the default header snapshot.
public WordHeaderFooterSnapshot FirstHeader { get; set; } #Gets the first-page header snapshot.
public WordHeaderFooterSnapshot EvenHeader { get; set; } #Gets the even-page header snapshot.
public IReadOnlyList<WordBlockSnapshot> Elements { get; } #Gets body paragraphs and tables in document order.