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

NameTypeAccessDescription
ResolutionResolutionReadOutput resolution in DPI.
RenderingOptionsAspose.Pdf.RenderingOptionsRead/WriteRendering options for advanced control of page-to-image rendering.
CoordinateTypePageCoordinateTypeRead/WriteWhich page box drives the rendered image extents.
WidthintReadConfigured target pixel width (0 = follow the page’s natural size at Resolution).
HeightintReadConfigured target pixel height (0 = follow the page’s natural size at Resolution).
FormPresentationModeFormPresentationModeRead/WriteHow form fields render (Production vs Editor).

Methods

SignatureDescription
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.

See Also