ThumbnailDevice

ThumbnailDevice class

Represents image device that save pdf document pages into Thumbnail image.

The ThumbnailDevice type exposes the following members:

Constructors

NameDescription
ThumbnailDevice()Initializes a new instance of the ThumbnailDevice class
with default size of thumbnail image (200x200 pixels).
ThumbnailDevice(width, height)Initializes a new instance of the ThumbnailDevice 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 thumbnail image png and saves it in the output stream.
process(page, output_file_name)Converts the page into thumbnail image png and saves it in the output stream.

See Also