ViewportOrientation Property (BrowserWindow)

Action

Gets the orientation of the browser viewport, this can be portrait or landscape.

Syntax

C#
protected DisplayOrientation ViewportOrientation { get; }
VB
'Declaration
Protected Read Property ViewportOrientation As DisplayOrientation

Access

Read only.