RenderingOptions

RenderingOptions

Overview

RenderingOptions is a class in Aspose.Pdf FOSS for Java.

Options for rendering PDF pages to images.

Properties

NameTypeAccessDescription
smoothImagesbooleanReadReturns whether image smoothing is enabled.
backgroundColorStringReadReturns the background color.
dpiXintReadReturns the horizontal DPI.
dpiYintReadReturns the vertical DPI.

Methods

SignatureDescription
RenderingOptions()Creates default rendering options.
isSmoothImages()booleanReturns whether image smoothing is enabled.
setSmoothImages(smooth: boolean)Sets whether image smoothing is enabled.
getBackgroundColor()StringReturns the background color.
setBackgroundColor(color: String)Sets the background color.
getDpiX()intReturns the horizontal DPI.
setDpiX(dpi: int)Sets the horizontal DPI.
getDpiY()intReturns the vertical DPI.
setDpiY(dpi: int)Sets the vertical DPI.

See Also