Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / GcBitmap Constructor / GcBitmap Constructor(IntPtr,Int32,Int32,Boolean,Boolean,Single,Single)
The pixel data to be attached to a GcBitmap.
The width of the image, in pixels.
The height of the image, in pixels.
Indicates whether the alpha channel should be ignored.
Indicates if the color channels are premultiplied by the alpha channel.
The horizontal dpi of the image.
The vertical dpi of the image.

In This Topic
    GcBitmap Constructor(IntPtr,Int32,Int32,Boolean,Boolean,Single,Single)
    In This Topic
    Initializes a new instance of the GcBitmap class and sets the existing pixel data to be read/modified in-place.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal pixelData As System.IntPtr, _
       ByVal pixelWidth As System.Integer, _
       ByVal pixelHeight As System.Integer, _
       ByVal opaque As System.Boolean, _
       Optional ByVal premultiplied As System.Boolean, _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single _
    )
    public GcBitmap( 
       System.IntPtr pixelData,
       System.int pixelWidth,
       System.int pixelHeight,
       System.bool opaque,
       System.bool premultiplied,
       System.float dpiX,
       System.float dpiY
    )

    Parameters

    pixelData
    The pixel data to be attached to a GcBitmap.
    pixelWidth
    The width of the image, in pixels.
    pixelHeight
    The height of the image, in pixels.
    opaque
    Indicates whether the alpha channel should be ignored.
    premultiplied
    Indicates if the color channels are premultiplied by the alpha channel.
    dpiX
    The horizontal dpi of the image.
    dpiY
    The vertical dpi of the image.
    See Also