PDF4Java.Render Reference Documentation
com.o2sol.pdf4java.render Package / PDFPageRenderer Class / convertPageToImage Method / convertPageToImage(Stream,PDFPageImageFormat,PDFRendererSettings) Method
Output stream where the image will be saved.
The format used for saving the page image.
Settings for the rendering process.
In This Topic
    convertPageToImage(Stream,PDFPageImageFormat,PDFRendererSettings) Method
    In This Topic
    Converts the PDF page to an image.
    Syntax
    public PDFSize convertPageToImage( 
       Stream stream,
       PDFPageImageFormat pageImageFormat,
       PDFRendererSettings settings
    )

    Parameters

    stream
    Output stream where the image will be saved.
    pageImageFormat
    The format used for saving the page image.
    settings
    Settings for the rendering process.

    Return Value

    Image size in pixels.
    Exceptions
    ExceptionDescription
    when the settings specify a rendering surface that is too small
    See Also