Javascript: HeaderFooterEventArgs.distance Property
Description
The distance, in twips, of a header or footer to the top or bottom of the page.
Syntax
<Number> HeaderFooterEventArgs.distanceExamples
The following example demonstrates HeaderFooterEventArgs.distance in a practical document-editing workflow. The distance, in twips, of a header or footer to the top or bottom of the page.
function inspectDistance(headerFooterEventArgs) {
const distance = headerFooterEventArgs.distance;
console.log("distance:", distance);
}