Click or drag to resize

ViewPortOptions Properties

The ViewPortOptions type exposes the following members.

Public propertyDeviceScaleFactor
Gets or sets the device scale factor.
Public propertyHasTouch
Gets or sets if viewport supports touch events.
Public propertyHeight
Gets or sets the page height in pixels. Default: 15000.
Public propertyIsLandscape
Gets or sets if viewport is in landscape mode.
Public propertyIsMobile
Gets or sets whether the meta viewport tag is taken into account.
Public propertyWidth
Gets or sets the width in pixels. Default: 1920.
See Also