BmpDevice

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

public final class BmpDevice extends ImageDevice

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

Constructors

ConstructorDescription
BmpDeviceInitializes a new instance of the {@code BmpDevice} class with default resolution.
BmpDeviceInitializes a new instance of the {@code BmpDevice} class with provided image dimensions, default resolution (=150).
BmpDeviceInitializes a new instance of the {@code BmpDevice} class with default resolution.
BmpDeviceInitializes a new instance of the {@code BmpDevice} class with default resolution.
BmpDeviceInitializes a new instance of the {@code BmpDevice} class with default resolution.
BmpDeviceInitializes a new instance of the {@code BmpDevice} class with default resolution.

Methods

MethodDescription
processrenders page on the graphics
processConverts the page into bmp and saves it in the output stream.
processInternalFor Internal usage only!

BmpDevice

public BmpDevice()

Initializes a new instance of the {@code BmpDevice} class with default resolution.

BmpDevice

public BmpDevice(int width, int height)

Initializes a new instance of the {@code BmpDevice} class with provided image dimensions, default resolution (=150).

Parameters:

ParameterTypeDescription
widthImage output width.
heightImage output height.

BmpDevice

Initializes a new instance of the {@code BmpDevice} class with default resolution.

BmpDevice

Initializes a new instance of the {@code BmpDevice} class with default resolution.

BmpDevice

Initializes a new instance of the {@code BmpDevice} class with default resolution.

BmpDevice

Initializes a new instance of the {@code BmpDevice} class with default resolution.

process

renders page on the graphics

process

Converts the page into bmp and saves it in the output stream.

processInternal

For Internal usage only!