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

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

Parameters

number
Type: SystemInt32
The page number.
name
Type: SystemString
The worksheet or page name.
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