Freigeben über


IBitmapExportService.CreateContext(Int32, Int32, Single) Method

Definition

public Microsoft.Maui.Graphics.BitmapExportContext CreateContext (int width, int height, float displayScale = 1);
abstract member CreateContext : int * int * single -> Microsoft.Maui.Graphics.BitmapExportContext
Public Function CreateContext (width As Integer, height As Integer, Optional displayScale As Single = 1) As BitmapExportContext

Parameters

width
Int32
height
Int32
displayScale
Single

Returns

Applies to