Share via


BitmapExportContext(Int32, Int32, Single) Constructor

Definition

Initializes a new instance of the BitmapExportContext class with the specified dimensions and resolution.

protected:
 BitmapExportContext(int width, int height, float dpi);
protected BitmapExportContext(int width, int height, float dpi);
new Microsoft.Maui.Graphics.BitmapExportContext : int * int * single -> Microsoft.Maui.Graphics.BitmapExportContext
Protected Sub New (width As Integer, height As Integer, dpi As Single)

Parameters

width
Int32

The width of the bitmap in pixels.

height
Int32

The height of the bitmap in pixels.

dpi
Single

The resolution (dots per inch) of the bitmap.

Applies to