RenderingOptions
Overview
RenderingOptions is a class in Aspose.PDF FOSS for .NET.
Rendering options used by the page-to-image converters (PngDevice, JpegDevice, PdfConverter, …).
Properties: AnalyzeFonts, BarcodeOptimization, ConvertFontsToUnicodeTTF, DefaultFontName, HeightExtraUnits, IgnoreResourceFontErrors, and 9 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
AnalyzeFonts | bool | Read/Write | Analyse fonts on the page before rendering. |
BarcodeOptimization | bool | Read/Write | Bar-code optimization. |
ConvertFontsToUnicodeTTF | bool | Read/Write | Convert fonts to Unicode TrueType form before rendering. |
DefaultFontName | string? | Read/Write | Override default font name used when a referenced font cannot be resolved. |
HeightExtraUnits | float | Read/Write | Extra units added to the rendered image height. |
IgnoreResourceFontErrors | bool | Read/Write | If true, the renderer suppresses exceptions raised by malformed font resources. |
InterpolationHighQuality | bool | Read/Write | Use high-quality bicubic interpolation when scaling images. |
MaxFontsCacheSize | int | Read/Write | Maximum entries in the font cache. |
MaxSymbolsCacheSize | int | Read/Write | Maximum entries in the symbol cache. |
OptimizeDimensions | bool | Read/Write | Crop the rendered image to the visible content. |
ScaleImagesToFitPageWidth | bool | Read/Write | Scale images on the page so they fit the page width. |
SystemFontsNativeRendering | bool | Read/Write | Use native rendering for system fonts. |
UseFontHinting | bool | Read/Write | Enable font hinting. |
UseNewImagingEngine | bool | Read/Write | Use the new imaging engine. |
WidthExtraUnits | float | Read/Write | Extra units added to the rendered image width. |