BmpDevice

Overview

BmpDevice is a class in Aspose.PDF FOSS for Java. Inherits from: PageDevice.

Renders a PDF page to BMP format.

This class provides 4 methods for working with BmpDevice objects in Java programs. Available methods include: BmpDevice, getResolution, process. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: resolution.

Properties

NameTypeAccessDescription
resolutionResolutionReadReturns the resolution used by this device.

Methods

SignatureDescription
BmpDevice(resolution: Resolution)Creates a BMP device with the given resolution.
BmpDevice(width: int, height: int, resolution: Resolution)Creates a BMP device with explicit dimensions and resolution.
process(page: Page, output: OutputStream)Renders a page and writes the result to the output stream.
getResolution()ResolutionReturns the resolution used by this device.

See Also

 English