public final class RenderingOptions extends Object
Represents rendering options
Constructor and Description |
---|
RenderingOptions()
Initializes new instance of the
RenderingOptions object. |
Modifier and Type | Method and Description |
---|---|
boolean |
getBarcodeOptimization()
Gets barcode optimization mode.
|
boolean |
getConvertFontsToUnicodeTTF()
Indicates that all fonts will be converted to TTF unicode versions.
|
String |
getDefaultFontName()
Gets/sets the default name of font used to substitute of missing fonts.
|
boolean |
getInterpolationHighQuality()
Gets or sets high quality mode for interpolation.
|
int |
getMaxFontsCacheSize()
Maximum count of fonts in fonts cache.
|
int |
getMaxSymbolsCacheSize()
Maximum count of symbols in symbol cache.
|
boolean |
getOptimizeDimensions()
Gets or sets optimize dimensions mode.
|
boolean |
getScaleImagesToFitPageWidth()
Gets or sets a values used to scale all images on the page to fit page's width.
|
boolean |
getSystemFontsNativeRendering()
Gets a mode where system fonts are rendered natively
|
boolean |
getUseFontHinting()
Usage of this flag turn on font hinting mechanism.
|
boolean |
getUseNewImagingEngine()
Gets a flag determines whether new imaging engine is used or not.
|
float |
getWidthExtraUnits()
Gets or sets a value used to increase or decrease the width of rectangle for AppendRectangle
operator.
|
void |
setBarcodeOptimization(boolean value)
Sets barcode optimization mode.
|
void |
setConvertFontsToUnicodeTTF(boolean value)
Indicates that all fonts will be converted to TTF unicode versions.
|
void |
setDefaultFontName(String value)
Gets/sets the default name of font used to substitute of missing fonts.
|
void |
setInterpolationHighQuality(boolean value)
Gets or sets high quality mode for interpolation.
|
void |
setMaxFontsCacheSize(int value)
Maximum count of fonts in fonts cache.
|
void |
setMaxSymbolsCacheSize(int value)
Maximum count of symbols in symbol cache.
|
void |
setOptimizeDimensions(boolean value)
Gets or sets optimize dimensions mode.
|
void |
setScaleImagesToFitPageWidth(boolean value)
Gets or sets a values used to scale all images on the page to fit page's width.
|
void |
setSystemFontsNativeRendering(boolean value)
Sets a mode where system fonts are rendered natively
|
void |
setUseFontHinting(boolean value)
Usage of this flag turn on font hinting mechanism.
|
void |
setUseNewImagingEngine(boolean value)
Sets a flag determines whether new imaging engine is used or not.
|
void |
setWidthExtraUnits(float value)
Gets or sets a value used to increase or decrease the width of rectangle for AppendRectangle
operator.
|
public RenderingOptions()
Initializes new instance of the RenderingOptions
object.
public boolean getBarcodeOptimization()
Gets barcode optimization mode.
public void setBarcodeOptimization(boolean value)
Sets barcode optimization mode.
value
- boolean valuepublic final boolean getOptimizeDimensions()
Gets or sets optimize dimensions mode.
public final void setOptimizeDimensions(boolean value)
Gets or sets optimize dimensions mode.
value
- boolean valuepublic boolean getSystemFontsNativeRendering()
Gets a mode where system fonts are rendered natively
public void setSystemFontsNativeRendering(boolean value)
Sets a mode where system fonts are rendered natively
value
- boolean valuepublic boolean getUseNewImagingEngine()
Gets a flag determines whether new imaging engine is used or not.
public void setUseNewImagingEngine(boolean value)
Sets a flag determines whether new imaging engine is used or not.
value
- boolean valuepublic float getWidthExtraUnits()
Gets or sets a value used to increase or decrease the width of rectangle for AppendRectangle operator.
public void setWidthExtraUnits(float value)
Gets or sets a value used to increase or decrease the width of rectangle for AppendRectangle operator.
value
- float valuepublic boolean getConvertFontsToUnicodeTTF()
Indicates that all fonts will be converted to TTF unicode versions. That is useful for compatibility reasons and to optimize font usage, cause every new TTF font will have not all the symbols from source font, but only symbols which are used in text.
public void setConvertFontsToUnicodeTTF(boolean value)
Indicates that all fonts will be converted to TTF unicode versions. That is useful for compatibility reasons and to optimize font usage, cause every new TTF font will have not all the symbols from source font, but only symbols which are used in text.
value
- boolean valuepublic boolean getUseFontHinting()
Usage of this flag turn on font hinting mechanism. Font hinting is the use of mathematical instructions to adjust the display of an outline font. In some cases turning this flag on may solve problems with text legibility. At current moment usage of this flag could give effect only for TTF fonts, if these fonts are used in source document.
public void setUseFontHinting(boolean value)
Usage of this flag turn on font hinting mechanism. Font hinting is the use of mathematical instructions to adjust the display of an outline font. In some cases turning this flag on may solve problems with text legibility. At current moment usage of this flag could give effect only for TTF fonts, if these fonts are used in source document.
value
- boolean valuepublic boolean getScaleImagesToFitPageWidth()
Gets or sets a values used to scale all images on the page to fit page's width.
public void setScaleImagesToFitPageWidth(boolean value)
Gets or sets a values used to scale all images on the page to fit page's width.
value
- boolean valuepublic boolean getInterpolationHighQuality()
Gets or sets high quality mode for interpolation.
public void setInterpolationHighQuality(boolean value)
Gets or sets high quality mode for interpolation.
value
- boolean valuepublic int getMaxFontsCacheSize()
Maximum count of fonts in fonts cache. Default value is 10.
public void setMaxFontsCacheSize(int value)
Maximum count of fonts in fonts cache. Default value is 10.
value
- int valuepublic int getMaxSymbolsCacheSize()
Maximum count of symbols in symbol cache. Default value is 100.
public void setMaxSymbolsCacheSize(int value)
Maximum count of symbols in symbol cache. Default value is 100.
value
- int valuepublic final String getDefaultFontName()
Gets/sets the default name of font used to substitute of missing fonts.
public final void setDefaultFontName(String value)
Gets/sets the default name of font used to substitute of missing fonts.
value
- String value