Back to Devexpress

Section.IsHeaderLinkedToPrevious(HeaderFooterType) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-section-dot-isheaderlinkedtoprevious-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-headerfootertype-x29.md

latest2.7 KB
Original Source

Section.IsHeaderLinkedToPrevious(HeaderFooterType) Method

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.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
bool IsHeaderLinkedToPrevious(
    HeaderFooterType type
)
vb
Function IsHeaderLinkedToPrevious(
    type As HeaderFooterType
) As Boolean

Parameters

NameTypeDescription
typeHeaderFooterType

A HeaderFooterType enumeration member specifying the type of the header.

|

Returns

TypeDescription
Boolean

true if the header of the specified type is linked to the header of the previous section; otherwise, false.

|

Remarks

You can use the Section.LinkHeaderToPrevious and the Section.UnlinkHeaderFromPrevious methods to establish a link.

The ToggleHeaderFooterLinkToPreviousCommand command can also be utilized for this purpose, but it is unavailable in RichEditDocumentServer.

See Also

LinkHeaderToPrevious

UnlinkHeaderFromPrevious

ToggleHeaderFooterLinkToPreviousCommand

Section Interface

Section Members

DevExpress.XtraRichEdit.API.Native Namespace