BmpDevice Class
Represents image device that helps to save pdf document pages into bmp.
Inheritance Hierarchy

Namespace: Aspose.Pdf.Devices
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public sealed class BmpDevice : ImageDevice

The BmpDevice type exposes the following members.

Constructors
  NameDescription
Public methodBmpDevice
Initializes a new instance of the BmpDevice class with default resolution.
Public methodBmpDevice(PageSize)
Initializes a new instance of the BmpDevice class with provided page size, default resolution (=150).
Public methodBmpDevice(Resolution)
Initializes a new instance of the BmpDevice class. Resolution for the result image file, see Resolution class.
Public methodBmpDevice(Int32, Int32)
Initializes a new instance of the BmpDevice class with provided image dimensions, default resolution (=150).
Public methodBmpDevice(PageSize, Resolution)
Initializes a new instance of the BmpDevice class with provided page size and resolution.
Public methodBmpDevice(Int32, Int32, Resolution)
Initializes a new instance of the BmpDevice class with provided image dimensions and resolution.
Properties
  NameDescription
Public propertyCoordinateType
Gets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
(Inherited from ImageDevice.)
Public propertyFormPresentationMode
Gets or sets form presentation mode.
(Inherited from ImageDevice.)
Public propertyHeight
Gets image output height.
(Inherited from ImageDevice.)
Public propertyRenderingOptions
Gets or sets rendering options.
(Inherited from ImageDevice.)
Public propertyResolution
Gets image resolution.
(Inherited from ImageDevice.)
Public propertyWidth
Gets image output width.
(Inherited from ImageDevice.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodProcess(Page, Stream)
Converts the page into bmp and saves it in the output stream.
(Overrides PageDeviceProcess(Page, Stream).)
Public methodProcess(Page, String)
Perfoms some operation on the given page and saves results into the file.
(Inherited from PageDevice.)
Public methodToString (Inherited from Object.)
See Also