public final class XpsSaveOptions extends Object implements ISaveOptions
Allows to specify custom options for generating and saving XPS (XML Paper Specifications) documents
| Constructor and Description |
|---|
XpsSaveOptions() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getFontEmbedding()
Responsible for embedding font resources into resultant XPS document, which are used in the original document.
|
boolean |
getOptimizeMemoryUsage()
Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage.
|
void |
setOptimizeMemoryUsage(boolean value)
Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage.
|
public final byte getFontEmbedding()
Responsible for embedding font resources into resultant XPS document, which are used in the original document. By default doesn't embed any fonts (NotEmbed).
public final boolean getOptimizeMemoryUsage()
Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance).
public final void setOptimizeMemoryUsage(boolean value)
Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance).
Copyright © 2024. All rights reserved.