BmpDevice

BmpDevice class

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

The BmpDevice type exposes the following members:

Constructors

NameDescription
BmpDevice()Initializes a new instance of the BmpDevice class with default resolution.
BmpDevice(resolution)Initializes a new instance of the BmpDevice class
BmpDevice(width, height, resolution)Initializes a new instance of the BmpDevice class
BmpDevice(page_size, resolution)Initializes a new instance of the BmpDevice class
BmpDevice(width, height)Initializes a new instance of the BmpDevice class
BmpDevice(page_size)Initializes a new instance of the BmpDevice 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 bmp and saves it in the output stream.
process(page, output_file_name)Converts the page into bmp and saves it in the output stream.

See Also