public class PdfDocumentOptions extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PdfDocumentOptions.ImageQualityEnum |
Specifies output image quality for image resources when rendering into HTML.
|
| Constructor | Description |
|---|---|
PdfDocumentOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
PdfDocumentOptions |
disableCharsGrouping(Boolean disableCharsGrouping) |
|
PdfDocumentOptions |
disableFontLicenseVerifications(Boolean disableFontLicenseVerifications) |
|
PdfDocumentOptions |
enableFontHinting(Boolean enableFontHinting) |
|
PdfDocumentOptions |
enableLayeredRendering(Boolean enableLayeredRendering) |
|
boolean |
equals(Object o) |
|
PdfDocumentOptions |
fixedLayout(Boolean fixedLayout) |
|
Boolean |
getDisableCharsGrouping() |
Disables chars grouping to keep maximum precision during chars positioning when rendering the page
|
Boolean |
getDisableFontLicenseVerifications() |
Disables any license restrictions for all fonts in the current XPS/OXPS document.
|
Boolean |
getEnableFontHinting() |
Enables font hinting.
|
Boolean |
getEnableLayeredRendering() |
Enables rendering of text and graphics according to z-order in original PDF document when rendering into HTML
|
Boolean |
getFixedLayout() |
Enables rendering the PDF and EPUB documents to HTML with a fixed layout.
|
PdfDocumentOptions.ImageQualityEnum |
getImageQuality() |
Specifies output image quality for image resources when rendering into HTML.
|
Boolean |
getRenderOriginalPageSize() |
When this option enabled the output pages will have the same size in pixels as page size in a source PDF document.
|
Boolean |
getRenderTextAsImage() |
When this option is set to true, the text is rendered as an image in the output HTML.
|
Boolean |
getWrapImagesInSvg() |
Enables wrapping each image in the output HTML document in SVG tag to improve the output quality.
|
int |
hashCode() |
|
PdfDocumentOptions |
imageQuality(PdfDocumentOptions.ImageQualityEnum imageQuality) |
|
PdfDocumentOptions |
renderOriginalPageSize(Boolean renderOriginalPageSize) |
|
PdfDocumentOptions |
renderTextAsImage(Boolean renderTextAsImage) |
|
void |
setDisableCharsGrouping(Boolean disableCharsGrouping) |
|
void |
setDisableFontLicenseVerifications(Boolean disableFontLicenseVerifications) |
|
void |
setEnableFontHinting(Boolean enableFontHinting) |
|
void |
setEnableLayeredRendering(Boolean enableLayeredRendering) |
|
void |
setFixedLayout(Boolean fixedLayout) |
|
void |
setImageQuality(PdfDocumentOptions.ImageQualityEnum imageQuality) |
|
void |
setRenderOriginalPageSize(Boolean renderOriginalPageSize) |
|
void |
setRenderTextAsImage(Boolean renderTextAsImage) |
|
void |
setWrapImagesInSvg(Boolean wrapImagesInSvg) |
|
String |
toString() |
|
PdfDocumentOptions |
wrapImagesInSvg(Boolean wrapImagesInSvg) |
public PdfDocumentOptions disableCharsGrouping(Boolean disableCharsGrouping)
public Boolean getDisableCharsGrouping()
public void setDisableCharsGrouping(Boolean disableCharsGrouping)
public PdfDocumentOptions enableLayeredRendering(Boolean enableLayeredRendering)
public Boolean getEnableLayeredRendering()
public void setEnableLayeredRendering(Boolean enableLayeredRendering)
public PdfDocumentOptions enableFontHinting(Boolean enableFontHinting)
public Boolean getEnableFontHinting()
public void setEnableFontHinting(Boolean enableFontHinting)
public PdfDocumentOptions renderOriginalPageSize(Boolean renderOriginalPageSize)
public Boolean getRenderOriginalPageSize()
public void setRenderOriginalPageSize(Boolean renderOriginalPageSize)
public PdfDocumentOptions imageQuality(PdfDocumentOptions.ImageQualityEnum imageQuality)
public PdfDocumentOptions.ImageQualityEnum getImageQuality()
public void setImageQuality(PdfDocumentOptions.ImageQualityEnum imageQuality)
public PdfDocumentOptions renderTextAsImage(Boolean renderTextAsImage)
public Boolean getRenderTextAsImage()
public void setRenderTextAsImage(Boolean renderTextAsImage)
public PdfDocumentOptions fixedLayout(Boolean fixedLayout)
public Boolean getFixedLayout()
public void setFixedLayout(Boolean fixedLayout)
public PdfDocumentOptions wrapImagesInSvg(Boolean wrapImagesInSvg)
public Boolean getWrapImagesInSvg()
public void setWrapImagesInSvg(Boolean wrapImagesInSvg)
public PdfDocumentOptions disableFontLicenseVerifications(Boolean disableFontLicenseVerifications)
public Boolean getDisableFontLicenseVerifications()
public void setDisableFontLicenseVerifications(Boolean disableFontLicenseVerifications)
Copyright © 2025. All rights reserved.