System::Drawing::Bitmap::SetResolution method

Bitmap::SetResolution method

Sets the resolution of the image.

void System::Drawing::Bitmap::SetResolution(float xDpi, float yDpi)
ParameterTypeDescription
xDpifloatThe new horizontal resolution in pixels per inch.
yDpifloatThe new vertical resolution in pixels per inch.

See Also