public class PageInfo extends Object
Represents information about page
Constructor and Description |
---|
PageInfo(int pageNumber,
int width,
int height)
Create new Instance of PageInfo
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Page height
|
int |
getPageNumber()
Page number
|
int |
getWidth()
Page width
|
void |
setHeight(int value)
Page height
|
void |
setPageNumber(int value)
Page number
|
void |
setWidth(int value)
Page width
|
String |
toString() |
public PageInfo(int pageNumber, int width, int height)
Create new Instance of PageInfo
pageNumber
- The Page Numberwidth
- Width of Pageheight
- Height of Pagepublic final int getHeight()
Page height
public final int getPageNumber()
Page number
public final int getWidth()
Page width
public final void setHeight(int value)
Page height
public final void setPageNumber(int value)
Page number
public final void setWidth(int value)
Page width
Copyright © 2020. All rights reserved.