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
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 -
Method Summary
Modifier and TypeMethodDescriptionThe resolution of the output image (Getter)voidsetResolution(Resolution value) The resolution of the output image (Setter)Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
Constructor Details
-
RenderPageAtResolution
- Parameters:
resolution- The resolution of the output image.- Throws:
IllegalArgumentException- The resolution is smaller than 0.0 or greater than 10000.0.IllegalArgumentException- ifresolutionisnull
-
-
Method Details
-
getResolution
The resolution of the output image (Getter)
Valid values are 0.0, 10000.0 or in between. -
setResolution
The resolution of the output image (Setter)
Valid values are 0.0, 10000.0 or in between.- Throws:
IllegalArgumentException- ifvalueisnull
-