java.lang.Object
org.sejda.model.input.ImageMergeInput
- All Implemented Interfaces:
MergeInput
Image input file for the merge task. Will be transformed to a PDF on the fly, then used as a PDF merge input.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Source<?>
int
hashCode()
boolean
void
setPageOrientation
(PageOrientation pageOrientation) void
setPageSize
(PageSize pageSize) sets the default size of the PDF pages generated from imagesvoid
setShouldPageSizeMatchImageSize
(boolean shouldPageSizeMatchImageSize) If true a PDF page generated by an image will have the same size as the image itselftoString()
-
Constructor Details
-
ImageMergeInput
-
-
Method Details
-
getSource
-
getPageSize
-
setPageSize
sets the default size of the PDF pages generated from images- Parameters:
pageSize
-
-
isShouldPageSizeMatchImageSize
public boolean isShouldPageSizeMatchImageSize() -
setShouldPageSizeMatchImageSize
public void setShouldPageSizeMatchImageSize(boolean shouldPageSizeMatchImageSize) If true a PDF page generated by an image will have the same size as the image itself- Parameters:
shouldPageSizeMatchImageSize
-
-
getPageOrientation
-
setPageOrientation
-
toString
-
hashCode
public int hashCode() -
equals
-