Document Solutions for PDF
GrapeCity.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcD2DBitmap Class / CreateImage Method / CreateImage(Int32,Int32,Single,Single) Method
The width of the image, in pixels.
The height of the image, in pixels.
The horizontal resolution (DPI) of the image.
The vertical resolution (DPI) of the image.

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

    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