ThumbnailDevice

Inheritance: java.lang.Object, com.aspose.pdf.devices.Device com.aspose.pdf.devices.PageDevice com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.ThumbnailDevice, com.aspose.pdf.devices.Device, com.aspose.pdf.devices.PageDevice com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.ThumbnailDevice, com.aspose.pdf.devices.PageDevice, com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.ThumbnailDevice, com.aspose.pdf.devices.ImageDevice, com.aspose.pdf.devices.ThumbnailDevice

public final class ThumbnailDevice extends ImageDevice

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

Constructors

ConstructorDescription
ThumbnailDeviceInitializes a new instance of the {@link ThumbnailDevice} class with default size of thumbnail image (200x200 pixels).
ThumbnailDeviceInitializes a new instance of the {@link ThumbnailDevice} class.

Methods

MethodDescription
processInternalConverts the page into thumbnail image png and saves it in the output stream.
processInternalPerforms some operation on the given page, e.g.

ThumbnailDevice

public ThumbnailDevice()

Initializes a new instance of the {@link ThumbnailDevice} class with default size of thumbnail image (200x200 pixels).

ThumbnailDevice

public ThumbnailDevice(int width, int height)

Initializes a new instance of the {@link ThumbnailDevice} class.

Parameters:

ParameterTypeDescription
widthThumbnail image output width.
heightThumbnail image output height.

processInternal

Converts the page into thumbnail image png and saves it in the output stream.

processInternal

Performs some operation on the given page, e.g.