Class PdfInput

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

public class PdfInput extends Input
Represents a pdf input.
  • Constructor Details

    • PdfInput

      public PdfInput(PdfResource resource, MergeOptions options)
      Initializes a new instance of the PdfInput class.
      Parameters:
      resource - The resource of type PdfResource.
      options - The merge options for the pdf.
    • PdfInput

      public PdfInput(PdfResource resource)
      Initializes a new instance of the PdfInput class.
      Parameters:
      resourceName - The name of the resource present in cloud resource manager.
    • PdfInput

      public PdfInput(String cloudResourcePath, MergeOptions options)
      Returns a PdfInput object containing the input pdf.
      Parameters:
      cloudResourcePath - The resource path in cloud resource manager.
      options - The merge options for the pdf.
    • PdfInput

      public PdfInput(String cloudResourcePath)
      Parameters:
      cloudResourcePath - The resource path in cloud resource manager.
  • Method Details

    • getMergeOptions

      public MergeOptions getMergeOptions()
      Gets the merge options MergeOptions.
      Returns:
      The merge options MergeOptions.
    • setMergeOptions

      public void setMergeOptions(MergeOptions value)
      Sets the merge options MergeOptions.
      Parameters:
      value - The merge options MergeOptions.
    • getStartPage

      public int getStartPage()
      Gets the start page.
      Returns:
      The start page.
    • setStartPage

      public void setStartPage(int value)
      Sets the start page.
      Parameters:
      value - The start page.
    • getPageCount

      public int getPageCount()
      Gets the page count.
      Returns:
      The page count.
    • setPageCount

      public void setPageCount(int value)
      Sets the page count.
      Parameters:
      value - The page count.