The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Section.HasFooter(HeaderFooterType) Method

Gets whether a section has a footer of the specified type.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

bool HasFooter(
    HeaderFooterType type
)
Function HasFooter(
    type As HeaderFooterType
) As Boolean
bool HasFooter(
    HeaderFooterType type
)
Function HasFooter(
    type As HeaderFooterType
) As Boolean

Parameters

Name Type Description
type HeaderFooterType

A HeaderFooterType enumeration value specifying the footer type.

Parameters

Name Type Description
type HeaderFooterType

A HeaderFooterType enumeration value specifying the footer type.

Returns

Type Description
Boolean

true if the section has a footer of the specified type; otherwise, false.

Returns

Type Description
Boolean

true if the section has a footer of the specified type; otherwise, false.

Remarks

When a new footer is created using the Section.BeginUpdateFooter method without arguments, it is the footer of the HeaderFooterType.Primary type which is the same for all pages, unless the Section.DifferentFirstPage or the Document.DifferentOddAndEvenPages properties are set to true. So in this situation, you can use the HasFooter method to check for the HeaderFooterType.Primary footer type.

See Also