[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.SetDpi

SetDpi Method

SetDpi(float)

Changes the physical resolution of the image.

Declaration
public void SetDpi(float dpi)
Public Sub SetDpi(dpi As Single)
Parameters
Type Name Description
float dpi

The horizontal and vertical resolution.

SetDpi(float, float)

Changes the physical resolution of the image.

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

The horizontal resolution.

float dpiY

The vertical resolution.