Skip to main content

Section Members

An interface that defines a section within a document.

Properties

Name Description
Columns Provides access to the SectionColumns interface used for operations with columns in the document.
DifferentFirstPage Gets or sets whether the header and footer areas of the first page can be different from other pages in the section.
EndnoteOptions Provides access to the endnote options.
FirstPageTray Gets or sets the paper tray to use for the first page of a section.
FootnoteOptions Provides access to the footnote options.
LineNumbering Provides access to the object containing line numbering parameters for the current section.
Margins Provides access to an object used to specify or retrieve the section’s margin settings.
OtherPagesTray Gets or sets the paper tray to use for all pages except the first page of a section.
Page Provides access to an object used to specify or retrieve the section’s page settings.
PageNumbering Provides access to an object specifying page numbering options for the current section.
Paragraphs Provides access to a collection of paragraphs for the current section.
ProtectedForForms Gets or sets whether the section is protected for forms (section content is read-only except for form fields).
Range Retrieves the range occupied by the current section.
RightToLeft Gets or sets whether to change the section’s direction to right-to-left.
StartType Gets or sets the type of a section break.

Methods

Name Description
BeginUpdateFooter() Starts editing the primary footer for the current section.
BeginUpdateFooter(HeaderFooterType) Starts editing the document’s footer of the specified type.
BeginUpdateHeader() Starts editing the primary header for the current section.
BeginUpdateHeader(HeaderFooterType) Starts editing the document’s header of the specified type.
EndUpdateFooter(SubDocument) Finalizes editing of the section’s footer.
EndUpdateHeader(SubDocument) Finalizes editing of the section’s header.
HasFooter(HeaderFooterType) Gets whether a section has a footer of the specified type.
HasHeader(HeaderFooterType) Gets whether a section has a header of the specified type.
IsFooterLinkedToNext() Indicates whether the footer of the specified type for the current section is linked to the footer of the next section, so they have the same content.
IsFooterLinkedToNext(HeaderFooterType) Indicates whether the footer of the specified type for the current section is linked to the footer of the next section, so they have the same content.
IsFooterLinkedToPrevious() Indicates whether the footer of the specified type for the current section is linked to the footer of the previous section so that they have the same content.
IsFooterLinkedToPrevious(HeaderFooterType) Indicates whether the footer of the specified type for the current section is linked to the footer of the previous section so that they have the same content.
IsHeaderLinkedToNext() Indicates whether the Odd header of the current section is linked to the header of the next section, so they have the same content.
IsHeaderLinkedToNext(HeaderFooterType) Indicates whether the header of the specified type for the current section is linked to the header of the next section, so they have the same content.
IsHeaderLinkedToPrevious() Indicates whether the Odd header of the current section is linked to the header of the previous section so that they have the same content.
IsHeaderLinkedToPrevious(HeaderFooterType) Indicates whether the header of the specified type for the current section is linked to the header of the previous section so that they have the same content.
LinkFooterToNext() Establishes a link to the next section’s footer so that they have the same content.
LinkFooterToNext(HeaderFooterType) Establishes a link to the next section’s footer so that they have the same content.
LinkFooterToPrevious() Establishes a link to the previous section’s footer so that they have the same content.
LinkFooterToPrevious(HeaderFooterType) Establishes a link to the previous section’s footer so that they have the same content.
LinkHeaderToNext() Establishes a link to the next section’s header so that they have the same content.
LinkHeaderToNext(HeaderFooterType) Establishes a link to the next section’s header so that they have the same content.
LinkHeaderToPrevious() Establishes a link to the previous section’s header so that they have the same content.
LinkHeaderToPrevious(HeaderFooterType) Establishes a link to the previous section’s header of the specified type so that they have the same content.
UnlinkFooterFromNext() Breaks the link of the current section’s footer to the footer of the next section so that it can hold different content.
UnlinkFooterFromNext(HeaderFooterType) Breaks the link of the current section’s footer to the footer of the next section so that it can hold different content.
UnlinkFooterFromPrevious() Breaks the link of the current section’s footer to the footer of the previous section so that it can hold different content.
UnlinkFooterFromPrevious(HeaderFooterType) Breaks the link of the current section’s footer to the footer of the previous section so that it can hold different content.
UnlinkHeaderFromNext() Breaks the link of the current section’s header to the header of the next section so that it can hold different content.
UnlinkHeaderFromNext(HeaderFooterType) Breaks the link of the current section’s header to the header of the next section so that it can hold different content.
UnlinkHeaderFromPrevious() Breaks the link of the current section’s header to the header of the previous section so that it can hold different content.
UnlinkHeaderFromPrevious(HeaderFooterType) Breaks the link of the current section’s header to the header of the previous section so that it can hold different content.
See Also