CreateImage Method (GcWicBitmap)
In This Topic
Creates the image of the given size and resolution.
The content is not initialized and can contain any random data.
Syntax
'Declaration
Public Sub CreateImage( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single _
)
public void CreateImage(
System.int ,
System.int ,
System.bool ,
System.float ,
System.float
)
Parameters
- pixelWidth
- The width of the image, in pixels.
- pixelHeight
- The height of the image, in pixels.
- opaque
- Indicates if the alpha channel should be ignored.
- dpiX
- The horizontal dpi of the image.
- dpiY
- The vertical dpi of the image.
See Also