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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.