[]
        
(Showing Draft Content)

C1.WPF.Bitmap.C1Bitmap.SetDpi

SetDpi Method

SetDpi(double)

Changes the physical resolution of the image.

Declaration
public void SetDpi(double dpi)
Public Sub SetDpi(dpi As Double)
Parameters
Type Name Description
double dpi

The horizontal and vertical resolution.

SetDpi(double, double)

Changes the physical resolution of the image.

Declaration
public void SetDpi(double dpiX, double dpiY)
Public Sub SetDpi(dpiX As Double, dpiY As Double)
Parameters
Type Name Description
double dpiX

The horizontal resolution.

double dpiY

The vertical resolution.