[]
Creates an image with the given size and resolution.
The content is not initialized by this method and can contain any random data.
public void CreateImage(int pixelWidth, int pixelHeight, float dpiX, float dpiY)
Public Sub CreateImage(pixelWidth As Integer, pixelHeight As Integer, dpiX As Single, dpiY As Single)
Type | Name | Description |
---|---|---|
int | pixelWidth | The width of the image, in pixels. |
int | pixelHeight | The height of the image, in pixels. |
float | dpiX | The horizontal resolution (DPI) of the image. |
float | dpiY | The vertical resolution (DPI) of the image. |
Creates an image with the given size and 96 DPI resolution.
public void CreateImage(int pixelWidth, int pixelHeight)
Public Sub CreateImage(pixelWidth As Integer, pixelHeight As Integer)