Javascript: SectionFormat.pageMargins Property
Description
Gets the section's page margins.
Syntax
<PageMargins> SectionFormat.pageMarginsExamples
The following example demonstrates SectionFormat.pageMargins in a practical document-editing workflow. It gets the section's page margins.
function inspectPageMargins(sectionFormat) {
const pageMargins = sectionFormat.pageMargins;
console.log("page margins:", pageMargins);
}Limitations
Read Only.