Package com.pdftools.image2pdf
Class ImageOptions
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.image2pdf.ImageOptions
-
public class ImageOptions extends NativeObject
The conversion options related to the images
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageMappinggetMapping()The image mapping (Getter)voidsetMapping(ImageMapping value)The image mapping (Setter)-
Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getMapping
public ImageMapping getMapping()
The image mapping (Getter)
The image mapping specifies how an input image is transformed and placed onto the output PDF page.
Default:
ShrinkToFit
-
setMapping
public void setMapping(ImageMapping value)
The image mapping (Setter)
The image mapping specifies how an input image is transformed and placed onto the output PDF page.
Default:
ShrinkToFit- Throws:
java.lang.IllegalArgumentException- ifvalueisnull
-
-