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 |
page |
Returns a |
protected |
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
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
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
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