DS Server

Javascript: Section.headersAndFooters Property

Property|Introduced in 28.0

Description

The section's headers and footers.

Syntax

<HeaderFooterCollection> Section.headersAndFooters

Examples

The following example demonstrates Section.headersAndFooters in a practical document-editing workflow. The section's headers and footers.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function inspectHeadersAndFooters(section) {
    section.headersAndFooters.getCount(function(count) {
        console.log("headers and footers count:", count);
    }, onTxError);
}

Limitations

Read Only.