DocumentSectionClass
Definition
- Namespace
- DOM.Elements
- Assembly
- DOM.dll
Represents a top-level document section that can contain pages and other flow elements (images, paragraphs, shapes, tables, text, paths).
Remarks
A is an specialized for section-level layout and page-specific settings. DocumentSection ElementsContainer Sections define page behavior such as margins, orientation, headers, footers, columns, and grids, and are the primary unit for layout separation in a document.
Examples
Constructors
Initializes a new with default page settings. DocumentSection
Properties
Gets or sets the document grid used to align characters and lines.
Gets the collection of footers defined for this section.
Each footer is associated with a specific . Only one footer of each type is allowed per section. HeaderFooterType
Gets the collection of headers defined for this section.
Each header is associated with a specific (for example, default, first page, or even pages). HeaderFooterType
Gets or sets the column configuration for pages in this section.
Gets the collection of pages that belong to this section.
Pages are generated based on the content flow and section settings. This collection reflects page-level abstractions in the DOM.
Gets or sets the page setup configuration for this section.
Gets or sets a value indicating whether the layout for this section should be rendered right-to-left.
This is typically used for languages such as Arabic or Hebrew.
Gets or sets the type of section break that precedes this section.
Gets or sets the logical text flow direction for the section.
Gets or sets the vertical alignment (justification) of content on the page.
Methods
Adds an existing footer to the section.
Adds an existing header to the section.
Adds a text node to the section by creating a new paragraph and appending the text to it.