Back to Devexpress

TdxRichEditHeaderFooterType Enum

vcl-dxrichedit-dot-nativeapi-8488cb80.md

latest4.0 KB
Original Source

TdxRichEditHeaderFooterType Enum

Enumerates available header and footer types.

Declaration

delphi
TdxRichEditHeaderFooterType = (
    First,
    Odd,
    Even
);

Members

Name
First
Odd
Even

Remarks

Options include:

ValueDescription
FirstA document section contains a header or footer on its first page. The ToggleDifferentFirstPage command can add or remove a unique header or footer on the first page of the document section.
OddA document section has a header or footer on all odd pages. The ToggleDifferentOddAndEvenPages command switches between unique and identical headers or footers for the section’s odd and even pages.
EvenA document section has a header or footer on all even pages. The ToggleDifferentOddAndEvenPages command works the same way as in Odd mode.

The following methods of a document section accept a TdxRichEditHeaderFooterType value as a parameter:

Note

TdxRichEditHeaderFooterType is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditHeaderFooterType.Even (in Delphi) or TdxRichEditHeaderFooterType::Even (in C++Builder) to refer to the Even value in code.

See Also

dxRichEdit.NativeApi Unit