Class 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 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 - if resolution is null
    • 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 - if value is null