Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

ScreenOrientations Enumeration

The Screen Orientation provides information about the current orientation of the document.

Namespace:  Walter.BOM
Assembly:  Walter.BOM (in Walter.BOM.dll)

Syntax


public enum ScreenOrientations

Members


Member nameDescription
None The value is not set
Portrait The orientation of the document is portrait
Landscape Landscape is an orientation where the screen width is greater than the screen height and depending on platform convention locking the screen to landscape can represent landscape-primary, landscape-secondary or both.
Secondary Alternative rotation(not the factory default)
Primary Primary intended rotation (factory default)
Natural Natural is an orientation that refers to either portrait-primary or landscape-primary depending on the device's usual orientation.
PortraitSecondaryPortrait-secondary is an orientation where the screen width is less than or equal to the screen height.
PortraitPrimaryPortrait-primary is an orientation where the screen width is less than or equal to the screen height
LandscapePrimary Landscape-secondary is an orientation where the screen width is greater than the screen height.
LandscapeSecondary Landscape-secondary is an orientation where the screen width is greater than the screen height.
Any Any is an orientation that means the screen can be locked to any one of portrait-primary, portrait-secondary, landscape-primary and landscape-secondary.