JpegDevice

JpegDevice class

Represents image device that helps to save pdf document pages into jpeg.

The JpegDevice type exposes the following members:

Constructors

NameDescription
JpegDevice()Initializes a new instance of the JpegDevice class with default resolution and maximum quality.
JpegDevice(resolution)Initializes a new instance of the JpegDevice class
JpegDevice(quality)Initializes a new instance of the JpegDevice class
JpegDevice(resolution, quality)Initializes a new instance of the JpegDevice class
JpegDevice(width, height)Initializes a new instance of the JpegDevice class
JpegDevice(page_size)Initializes a new instance of the JpegDevice class
JpegDevice(width, height, resolution)Initializes a new instance of the JpegDevice class
JpegDevice(page_size, resolution)Initializes a new instance of the JpegDevice class
JpegDevice(width, height, resolution, quality)Initializes a new instance of the JpegDevice class
JpegDevice(page_size, resolution, quality)Initializes a new instance of the JpegDevice class

Properties

NameDescription
coordinate_typeGets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
rendering_optionsGets or sets rendering options.
form_presentation_modeGets or sets form presentation mode.
resolutionGets image resolution.
widthGets image output width.
heightGets image output height.

Methods

NameDescription
process(page, output)Converts the page into jpeg and saves it in the output stream.
process(page, output_file_name)Converts the page into jpeg and saves it in the output stream.

See Also