Skip to main content

Section Members

A section in a document.

Properties

Name Description
ColumnCount Returns the number of columns in the section.
FooterOffset Returns the footer offset from the bottom of the page.
HeaderOffset Returns the header offset from the top of the page.
Index Returns the index of the section in the sections collection.
Interval Gets the text buffer interval that contains the element. Inherited from DocumentElementBase.
Landscape Gets whether the section’s page orientation is landscape.
Margins Returns the section’s page margins.
PageSize Gets the height and width of section pages.
PaperKind Gets the paper size of the section’s pages.

Methods

Name Description
ChangePropertiesAsync(Action<SectionProperties>, CancellationToken) Sets the section’s properties.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetFooterAsync(HeaderFooterType, Boolean, CancellationToken) Returns a sub-document that is the section’s footer.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetHeaderAsync(HeaderFooterType, Boolean, CancellationToken) Returns a sub-document that is the section’s header.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also