RenderingOptions
Overview
RenderingOptions is a class in Aspose.Pdf FOSS for Java.
Options for rendering PDF pages to images.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
smoothImages | boolean | Read | Returns whether image smoothing is enabled. |
backgroundColor | String | Read | Returns the background color. |
dpiX | int | Read | Returns the horizontal DPI. |
dpiY | int | Read | Returns the vertical DPI. |
Methods
| Signature | Description |
|---|---|
RenderingOptions() | Creates default rendering options. |
isSmoothImages() → boolean | Returns whether image smoothing is enabled. |
setSmoothImages(smooth: boolean) | Sets whether image smoothing is enabled. |
getBackgroundColor() → String | Returns the background color. |
setBackgroundColor(color: String) | Sets the background color. |
getDpiX() → int | Returns the horizontal DPI. |
setDpiX(dpi: int) | Sets the horizontal DPI. |
getDpiY() → int | Returns the vertical DPI. |
setDpiY(dpi: int) | Sets the vertical DPI. |