Package com.dynamicpdf.api
Class PageInput
java.lang.Object
com.dynamicpdf.api.Input
com.dynamicpdf.api.PageInput
Represents a page input.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets or sets the elements of the page.float
Gets the height of the page.float
Gets the width of the page.void
setPageHeight(float value)
Sets the height of the page.void
setPageWidth(float value)
Sets the width of the page.Methods inherited from class com.dynamicpdf.api.Input
getId, getResourceName, getTemplate, setId, setResourceName, setTemplate
-
Constructor Details
-
PageInput
public PageInput(float pageWidth, float pageHeight)Initializes a new instance of thePageInput
class.- Parameters:
pageWidth
- The width of the page.pageHeight
- The height of the page.
-
PageInput
public PageInput()Initializes a new instance of thePageInput
class.
-
-
Method Details
-
getPageWidth
public float getPageWidth()Gets the width of the page.- Returns:
- The width of the page.
-
setPageWidth
public void setPageWidth(float value)Sets the width of the page.- Parameters:
value
- The width of the page.
-
getPageHeight
public float getPageHeight()Gets the height of the page.- Returns:
- The height of the page.
-
setPageHeight
public void setPageHeight(float value)Sets the height of the page.- Parameters:
value
- The height of the page.
-
getElements
Gets or sets the elements of the page.- Returns:
- The elements of the page.
-