Bitmap.SetResolution
Bitmap.SetResolution method
Sets the resolution for this Bitmap
.
public void SetResolution(float xDpi, float yDpi)
Parameter | Type | Description |
---|---|---|
xDpi | Single | The horizontal resolution, in dots per inch, of the Bitmap . |
yDpi | Single | The vertical resolution, in dots per inch, of the Bitmap . |
Exceptions
exception | condition |
---|---|
Exception | The operation failed. |
See Also
- class Bitmap
- namespace Aspose.Page.Drawing
- assembly Aspose.Page