Package com.dynamicpdf.api
Class PdfInput
java.lang.Object
com.dynamicpdf.api.Input
com.dynamicpdf.api.PdfInput
Represents a pdf input.
- 
Constructor Summary
ConstructorsConstructorDescriptionPdfInput(PdfResource resource)Initializes a new instance of thePdfInputclass.PdfInput(PdfResource resource, MergeOptions options)Initializes a new instance of thePdfInputclass.PdfInput(String cloudResourcePath, MergeOptions options)Returns aPdfInputobject containing the input pdf. - 
Method Summary
Modifier and TypeMethodDescriptionGets the merge optionsMergeOptions.intGets the page count.intGets the start page.voidsetMergeOptions(MergeOptions value)Sets the merge optionsMergeOptions.voidsetPageCount(int value)Sets the page count.voidsetStartPage(int value)Sets the start page.Methods inherited from class com.dynamicpdf.api.Input
getId, getResourceName, getTemplate, setId, setResourceName, setTemplate 
- 
Constructor Details
- 
PdfInput
Initializes a new instance of thePdfInputclass.- Parameters:
 resource- The resource of typePdfResource.options- The merge options for the pdf.
 - 
PdfInput
Initializes a new instance of thePdfInputclass.- Parameters:
 resourceName- The name of the resource present in cloud resource manager.
 - 
PdfInput
Returns aPdfInputobject containing the input pdf.- Parameters:
 cloudResourcePath- The resource path in cloud resource manager.options- The merge options for the pdf.
 - 
PdfInput
- Parameters:
 cloudResourcePath- The resource path in cloud resource manager.
 
 - 
 - 
Method Details
- 
getMergeOptions
Gets the merge optionsMergeOptions.- Returns:
 - The merge options 
MergeOptions. 
 - 
setMergeOptions
Sets the merge optionsMergeOptions.- Parameters:
 value- The merge optionsMergeOptions.
 - 
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.
 
 -