Skip to main content

Document.DifferentOddAndEvenPages Property

Gets or sets whether the document has different odd and even pages.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

bool DifferentOddAndEvenPages { get; set; }

Property Value

Type Description
Boolean

true if odd and even pages are different; otherwise, false.

Remarks

DifferentOddAndEvenPages value is used to specify different headers and footers for odd and even pages; and it may be used for other purposes, such as specifying different margins or print settings and print sequences.

The ToggleDifferentOddAndEvenPagesCommand provides the same functionality.

For a document section, you can specify a different first page via the Section.DifferentFirstPage property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DifferentOddAndEvenPages property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also