DS Server

Javascript: SectionFormat.pageMargins Property

Property|Introduced in 26.0

Description

Gets the section's page margins.

Syntax

<PageMargins> SectionFormat.pageMargins

Examples

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.