public class PdfOptions extends Object
Provides options for rendering PDF documents.
Constructor and Description |
---|
PdfOptions()
Initializes new instance of
PdfOptions class. |
Modifier and Type | Method and Description |
---|---|
ImageQuality |
getImageQuality()
Specifies output image quality for image resources when rendering into HTML.
|
boolean |
isDisableCharsGrouping()
Disables chars grouping to keep maximum precision during chars positioning when rendering the page.
|
boolean |
isEnableFontHinting()
Enables font hinting.
|
boolean |
isEnableLayeredRendering()
Enables rendering of text and graphics according to z-order in original PDF document when rendering into HTML.
|
void |
setDisableCharsGrouping(boolean value)
Disables chars grouping to keep maximum precision during chars positioning when rendering the page.
|
void |
setEnableFontHinting(boolean value)
Enables font hinting.
|
void |
setEnableLayeredRendering(boolean value)
Enables rendering of text and graphics according to z-order in original PDF document when rendering into HTML.
|
void |
setImageQuality(ImageQuality value)
Specifies output image quality for image resources when rendering into HTML.
|
public PdfOptions()
Initializes new instance of PdfOptions
class.
public final ImageQuality getImageQuality()
Specifies output image quality for image resources when rendering into HTML. The default value is Low.
public final boolean isDisableCharsGrouping()
Disables chars grouping to keep maximum precision during chars positioning when rendering the page.
public final boolean isEnableFontHinting()
Enables font hinting. The font hinting adjusts the display of an outline font. Supported only for TTF fonts when these fonts are used in source document.
public final boolean isEnableLayeredRendering()
Enables rendering of text and graphics according to z-order in original PDF document when rendering into HTML.
public final void setDisableCharsGrouping(boolean value)
Disables chars grouping to keep maximum precision during chars positioning when rendering the page.
public final void setEnableFontHinting(boolean value)
Enables font hinting. The font hinting adjusts the display of an outline font. Supported only for TTF fonts when these fonts are used in source document.
public final void setEnableLayeredRendering(boolean value)
Enables rendering of text and graphics according to z-order in original PDF document when rendering into HTML.
public final void setImageQuality(ImageQuality value)
Specifies output image quality for image resources when rendering into HTML. The default value is Low.
value
- Specifies output image quality for image resources when rendering into HTML.