Orientation Inherits: Enum Represents the layout orientation. Properties LANDSCAPE – Orientation with greater width than height. PORTRAIT – Orientation with greater height than width. Properties# LANDSCAPE = 'landscape' # Orientation with greater width than height. PORTRAIT = 'portrait' # Orientation with greater height than width.