BitmapExportContext(Int32, Int32, Single) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.