Viewport Class

Viewport class

Represents a viewport that defines the width and height of a visual area.

public class Viewport

Constructors

NameDescription
Viewport(Length, Length)Initializes a new instance of the Viewport class with the specified width and height.

Properties

NameDescription
Height { get; }Gets the height of the viewport.
Width { get; }Gets the width of the viewport.

Methods

NameDescription
static Load(Page)Loads a Viewport from the specified Page.

See Also