Gets or sets a value that specifies whether the page’s orientation is landscape.
true, if the page’s orientation is landscape; false, if the page has the standard portrait orientation.
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.