Documents for Imaging .NET Edition
GrapeCity.Documents.Common.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / CreateImage Method
The width of the image, in pixels.
The height of the image, in pixels.
Indicates if the alpha channel should be ignored.
The horizontal dpi of the image.
The vertical dpi of the image.

In This Topic
    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 pixelWidth As System.Integer, _
       ByVal pixelHeight As System.Integer, _
       ByVal opaque As System.Boolean, _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single _
    ) 
    public void CreateImage( 
       System.int pixelWidth,
       System.int pixelHeight,
       System.bool opaque,
       System.float dpiX,
       System.float dpiY
    )

    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