PlatformBitmapExportService.CreateContext(Int32, Int32, Single) Method
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.
public Microsoft.Maui.Graphics.BitmapExportContext CreateContext (int width, int height, float displayScale = 1);
abstract member CreateContext : int * int * single -> Microsoft.Maui.Graphics.BitmapExportContext
override this.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
Implements
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.