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

In This Topic
    GcD2DBitmap Constructor(Int32,Int32,Single,Single)
    In This Topic
    Initializes a new instance of the GcD2DBitmap class and creates the image.

    The image content is not initialized and can contain any random data.

    Syntax
    'Declaration
     
    Public Function New( _
       ByVal pixelWidth As System.Integer, _
       ByVal pixelHeight As System.Integer, _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single _
    )
    public GcD2DBitmap( 
       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 dpi of the image.
    dpiY
    The vertical dpi of the image.
    See Also