BmpDevice
Overview
BmpDevice is a class in Aspose.PDF FOSS for .NET.
Inherits from: ImageDevice.
Renders PDF document pages into BMP image format.
This class provides 11 methods for working with BmpDevice objects in .NET programs.
Available methods include: BmpDevice, GetBitmap, ImageDevice, Process.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: CoordinateType, FormPresentationMode, Height, RenderingOptions, Resolution, Width.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Resolution | Resolution | Read | Output resolution in DPI. |
RenderingOptions | Aspose.Pdf.RenderingOptions | Read/Write | Rendering options for advanced control of page-to-image rendering. |
CoordinateType | PageCoordinateType | Read/Write | Which page box drives the rendered image extents. |
Width | int | Read | Configured target pixel width (0 = follow the page’s natural size at Resolution). |
Height | int | Read | Configured target pixel height (0 = follow the page’s natural size at Resolution). |
FormPresentationMode | FormPresentationMode | Read/Write | How form fields render (Production vs Editor). |
Methods
| Signature | Description |
|---|---|
BmpDevice(renderer: IPageRenderer) | Calls BmpDevice(renderer) on this BmpDevice instance. |
BmpDevice(renderer: IPageRenderer, resolution: Resolution) | Calls BmpDevice(renderer, resolution) on this BmpDevice instance. |
BmpDevice() | |
BmpDevice(resolution: Resolution) | Calls BmpDevice(resolution) on this BmpDevice instance. |
BmpDevice(width: int, height: int) | Calls BmpDevice(width, height) on this BmpDevice instance. |
BmpDevice(width: int, height: int, resolution: Resolution) | Calls BmpDevice(width, height, resolution) on this BmpDevice instance. |
BmpDevice(pageSize: Aspose.Pdf.PageSize) | Calls BmpDevice(pageSize) on this BmpDevice instance. |
BmpDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution) | Calls BmpDevice(pageSize, resolution) on this BmpDevice instance. |
Process(page: Page, output: Stream) | Calls Process(page, output) on this BmpDevice instance. |
ImageDevice(resolution: Resolution) | Initializes a new ImageDevice with a Resolution using the built-in SoftwarePageRenderer. |
GetBitmap(page: Page) | Render a page to a Bitmap. |