Bitmap.SetResolution

Bitmap.SetResolution method

Sets the resolution for this Bitmap.

public void SetResolution(float xDpi, float yDpi)
ParameterTypeDescription
xDpiSingleThe horizontal resolution, in dots per inch, of the Bitmap.
yDpiSingleThe vertical resolution, in dots per inch, of the Bitmap.

See Also