Orientation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types.
public enum Orientation
type Orientation =
- Inheritance
-
Orientation
Fields
| Name | Value | Description |
|---|---|---|
| Undefined | 0 | Constant for Orientation: a value indicating that no value has been set. |
| Portrait | 1 | Indicates portrait orientation, corresponding to the |
| Landscape | 2 | Indicates landscape orientation, corresponding to the |
| Square | 3 | Indicates square orientation. This value is deprecated and is not supported or used. |
Remarks
Android platform documentation for android.content.res.Configuration.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.