Package com.pdftools.pdf2image
Class RenderPageAtResolution
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.pdf2image.ImageSectionMapping
-
- com.pdftools.pdf2image.RenderPageAtResolution
-
public class RenderPageAtResolution extends ImageSectionMapping
The image section mapping to render entire pages at a specific resolution
The entire PDF page is rendered into an image of the same size and the specified resolution.
For example, this mapping is suitable to create images of entire PDF pages.
-
-
Constructor Summary
Constructors Constructor Description RenderPageAtResolution(Resolution resolution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resolution
getResolution()
The resolution of the output image (Getter)void
setResolution(Resolution value)
The resolution of the output image (Setter)-
Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
-
-
-
Constructor Detail
-
RenderPageAtResolution
public RenderPageAtResolution(Resolution resolution)
- Parameters:
resolution
- The resolution of the output image.- Throws:
java.lang.IllegalArgumentException
- The resolution is smaller than 0.0 or greater than 10000.0.java.lang.IllegalArgumentException
- ifresolution
isnull
-
-
Method Detail
-
getResolution
public Resolution getResolution()
The resolution of the output image (Getter)
Valid values are 0.0, 10000.0 or in between.
-
setResolution
public void setResolution(Resolution value)
The resolution of the output image (Setter)
Valid values are 0.0, 10000.0 or in between.- Throws:
java.lang.IllegalArgumentException
- ifvalue
isnull
-
-