System::Drawing::Bitmap::SetResolution 方法
Bitmap::SetResolution method
设置图像的分辨率。
void System::Drawing::Bitmap::SetResolution(float xDpi, float yDpi)
| Parameter | Type | 描述 |
|---|---|---|
| xDpi | 单精度浮点数 | 新的水平分辨率(每英寸像素数)。 |
| yDpi | 单精度浮点数 | 新的垂直分辨率(每英寸像素数)。 |
另见
- Class Bitmap
- Namespace System::Drawing
- Library Aspose.Page for C++