Page Constructor (Int32, Boolean, Int32, Int32)
Initializes new instance of Page class.

Namespace: GroupDocs.Viewer.Results
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.11
Syntax
public Page(
	int number,
	bool visible,
	int width,
	int height
)

Parameters

number
Type: SystemInt32
The page number.
visible
Type: SystemBoolean
The page visibility indicator.
width
Type: SystemInt32
The width of the page in pixels when viewing as JPG or PNG.
height
Type: SystemInt32
The height of the page in pixels when viewing as JPG or PNG.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when number is less or equal to zero.
ArgumentExceptionThrown when width is less or equal to zero.
ArgumentExceptionThrown when height is less or equal to zero.
See Also