Edit

Share via


Word.Interfaces.SectionData interface

An interface describing the data returned by calling section.toJSON().

Properties

body

Gets the body object of the section. This doesn't include the header/footer and other section metadata.

borders

Returns a BorderUniversalCollection object that represents all the borders in the section.

pageSetup

Returns a PageSetup object that's associated with the section.

protectedForForms

Specifies if the section is protected for forms.

Property Details

body

Gets the body object of the section. This doesn't include the header/footer and other section metadata.

body?: Word.Interfaces.BodyData;

Property Value

Remarks

[ API set: WordApi 1.1 ]

borders

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Returns a BorderUniversalCollection object that represents all the borders in the section.

borders?: Word.Interfaces.BorderUniversalData[];

Property Value

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

pageSetup

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Returns a PageSetup object that's associated with the section.

pageSetup?: Word.Interfaces.PageSetupData;

Property Value

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

protectedForForms

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Specifies if the section is protected for forms.

protectedForForms?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]