Page Constructor (Int32, Boolean, Int32, Int32, IListLine) |
Initializes new instance of
Page class.
Namespace: GroupDocs.Viewer.ResultsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic Page(
int number,
bool visible,
int width,
int height,
IList<Line> lines
)
Public Sub New (
number As Integer,
visible As Boolean,
width As Integer,
height As Integer,
lines As IList(Of Line)
)
public:
Page(
int number,
bool visible,
int width,
int height,
IList<Line^>^ lines
)
new :
number : int *
visible : bool *
width : int *
height : int *
lines : IList<Line> -> Page
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. - lines
- Type: System.Collections.GenericIListLine
The lines contained by the page when viewing as JPG or PNG with enabled Text Extraction.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when number is less or equal to zero. |
ArgumentException | Thrown when width is less or equal to zero. |
ArgumentException | Thrown when height is less or equal to zero. |
ArgumentNullException | Thrown when lines is null. |
See Also