PdfFileEditor.PageBreak
Contents
[
Hide
]Inheritance: java.lang.Object
public static class PdfFileEditor.PageBreak
Data of page break position.
Constructors
Constructor | Description |
---|---|
PageBreak(int pageNumber, double position) | Constructor to create PageBreak object. |
Methods
Method | Description |
---|---|
getPageNumber() | Number of page (starting from 1) where page break must be added. |
setPageNumber(int value) | Number of page (starting from 1) where page break must be added. |
getPosition() | Vertical position of page break. |
setPosition(double value) | Vertical position of page break. |
PageBreak(int pageNumber, double position)
public PageBreak(int pageNumber, double position)
Constructor to create PageBreak object.
Parameters:
Parameter | Type | Description |
---|---|---|
pageNumber | int | Number of page where page break is placed. |
position | double | Vertical position of page break. |
getPageNumber()
public int getPageNumber()
Number of page (starting from 1) where page break must be added.
Returns: int - int value
setPageNumber(int value)
public void setPageNumber(int value)
Number of page (starting from 1) where page break must be added.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | int value |
getPosition()
public double getPosition()
Vertical position of page break.
Returns: double - double value
setPosition(double value)
public void setPosition(double value)
Vertical position of page break.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | double value |