SetResolution

Bitmap.SetResolution method

public void SetResolution(float xDpi, float yDpi)

也可以看看