CreateImage(Int32,Int32,Single,Single) Method
In This Topic
Creates an image with the given size and resolution.
The content is not initialized by this method and can contain any random data.
Syntax
'Declaration
Public Overloads Sub CreateImage( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void CreateImage(
System.int ,
System.int ,
System.float ,
System.float
)
Parameters
- pixelWidth
- The width of the image, in pixels.
- pixelHeight
- The height of the image, in pixels.
- dpiX
- The horizontal resolution (DPI) of the image.
- dpiY
- The vertical resolution (DPI) of the image.
See Also