RenderingOptions

RenderingOptions

Overview

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

Options for rendering PDF pages to images.

This class provides 9 methods for working with RenderingOptions objects in Java programs. Available methods include: RenderingOptions, getBackgroundColor, getDpiX, getDpiY, isSmoothImages, setBackgroundColor, setDpiX, setDpiY, setSmoothImages. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: backgroundColor, dpiX, dpiY, smoothImages.

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

 English