SectionPage.Landscape Property
Gets or sets a value that specifies whether the page’s orientation is landscape.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v26.1.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean | true, if the page’s orientation is landscape; false, if the page has the standard portrait orientation. |
Remarks
When you set the Landscape property, the RichEditControl rotates this page so that its width becomes height and vice versa. Relative width and height values are not validated, therefore, a situation in which the page in landscape mode has a height greater than its width, is not uncommon. To prevent this from happening, check the page dimensions prior to switching page orientation, as illustrated below.