Represents a section of a document. Sections are numbered from the beginning to the end of the document beginning with 1. A document has at least one section. A section is a part of the document that specifies the page size, the page margins and the headers and footers. A section can be obtained from the section collection.

Syntax

Section

Introduced: X18.

Methods

Method Description
getLength Gets the number of characters in the section.
getNumber Gets the section's number.
getStart Gets the number (one-based) of the first character in the section.
select Selects the section.

Properties

Property Description
format The section's formatting attributes.
headersAndFooters The section's headers and footers.