Viewport class

Viewport class

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

The Viewport type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the Viewport class with the specified width and height.

Properties

PropertyDescription
widthGets the width of the viewport.
heightGets the height of the viewport.

Methods

MethodDescription
loadLoads a Viewport from the specified Page.

See Also