Class PageInput

java.lang.Object
com.dynamicpdf.api.Input
com.dynamicpdf.api.PageInput

public class PageInput extends Input
Represents a page input.
  • Constructor Details

    • PageInput

      public PageInput(float pageWidth, float pageHeight)
      Initializes a new instance of the PageInput class.
      Parameters:
      pageWidth - The width of the page.
      pageHeight - The height of the page.
    • PageInput

      public PageInput()
      Initializes a new instance of the PageInput 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

      public List<Element> getElements()
      Gets or sets the elements of the page.
      Returns:
      The elements of the page.