[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.GcD2DBitmap.-ctor

GcD2DBitmap Constructor

GcD2DBitmap()

Initializes a new instance of the GcD2DBitmap class.

Declaration
public GcD2DBitmap()
Public Sub New()

GcD2DBitmap(int, int, float, float)

Initializes a new instance of the GcD2DBitmap class and creates the image.

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

Declaration
public GcD2DBitmap(int pixelWidth, int pixelHeight, float dpiX = 96, float dpiY = 96)
Public Sub New(pixelWidth As Integer, pixelHeight As Integer, Optional dpiX As Single = 96, Optional dpiY As Single = 96)
Parameters
Type Name Description
int pixelWidth

The width of the image, in pixels.

int pixelHeight

The height of the image, in pixels.

float dpiX

The horizontal dpi of the image.

float dpiY

The vertical dpi of the image.