Javascript: Section.headersAndFooters Property
Description
The section's headers and footers.
Syntax
<HeaderFooterCollection> Section.headersAndFootersExamples
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.