BmpDevice

BmpDevice class

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

public sealed class BmpDevice : ImageDevice

Constructors

Name Description
BmpDevice() Initializes a new instance of the BmpDevice class with default resolution.
BmpDevice(PageSize) Initializes a new instance of the BmpDevice class with provided page size, default resolution (=150).
BmpDevice(Resolution) Initializes a new instance of the BmpDevice class. Resolution for the result image file, see Resolution class.
BmpDevice(int, int) Initializes a new instance of the BmpDevice class with provided image dimensions, default resolution (=150).
BmpDevice(PageSize, Resolution) Initializes a new instance of the BmpDevice class with provided page size and resolution.
BmpDevice(int, int, Resolution) Initializes a new instance of the BmpDevice class with provided image dimensions and resolution.

Properties

Name Description
CoordinateType { get; set; } Gets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
FormPresentationMode { get; set; } Gets or sets form presentation mode.
Height { get; } Gets image output height.
RenderingOptions { get; set; } Gets or sets rendering options.
Resolution { get; } Gets image resolution.
Width { get; } Gets image output width.

Methods

Name Description
override Process(Page, Stream) Converts the page into bmp and saves it in the output stream.
Process(Page, string) Perfoms some operation on the given page and saves results into the file.

See Also