xtd 0.2.0
Loading...
Searching...
No Matches

◆ set_resolution()

void xtd::drawing::bitmap::set_resolution ( int32  x_dpi,
int32  y_dpi 
)

Sets the resolution for this xtd::drawing::bitmap.

Parameters
x_dpiThe horizontal resolution, in dots per inch, of the xtd::drawing::bitmap.
y_dpiThe vertical resolution, in dots per inch, of the xtd::drawing::bitmap.
Remarks
Use this method to set the desired resolution on a newly created bitmap. Changing the resolution of the image does not change its physical size.