Skip to content

PdfRendererSettings Class

Definition

Namespace: Xfinium.Pdf.Rendering

Settings class for PDF rendering process.

C#
public class PdfRendererSettings : Object

Inheritance: Object → PdfRendererSettings

Constructors

Name Description
PdfRendererSettings() Initializes a new PdfRendererSettings object.
PdfRendererSettings(Double,Double) Initializes a new PdfRendererSettings object.
PdfRendererSettings(Double,Double,PdfRenderingSurface) Initializes a new PdfRendererSettings object.

Properties

Name Description
BackgroundColor Gets or sets the background color of the rendered page.
DpiX Gets or sets the horizontal resolution.
DpiY Gets or sets the vertical resolution.
EnableRenderingCache Gets or sets a value indicating whether the rendering cache should be enabled.
ErrorHandling Gets of sets a value specifying how the rendering errors are handled.
FontSubstitution Gets or sets the font substitution rules.
ImageOptions Gets the options for rendering images.
InfoDpiX Gets or sets the horizontal resolution of the output TIFF image.
InfoDpiY Gets or sets the vertical resolution of the output TIFF image.
LayerRenderTarget Gets or sets the rendering target for content included in PDF layers (optional content).
OutputImageSize Gets or sets the size of the output image.
RenderAnnotations Gets or sets the value indicating whether the page annotations should be rendered.
RenderArea Gets or sets the rendering area.
RenderFormFields Gets or sets the value indicating whether the form fields should be rendered.
RenderGraphics Gets or sets the value indicating whether the vector graphics should be rendered.
RenderImages Gets or sets the value indicating whether the images should be rendered.
RenderingSurface Gets or sets the rendering surface.
RenderText Gets or sets the value indicating whether the text should be rendered.
RenderThreadCount Gets or sets the number of threads used for rendering. The number of threads to be used for rendering the page.This property lets you speed up the page rendering processed by using multiple threads. Accepted values are 1 (single threaded, default rendering mode), 2 and 4.
SnapRectanglesToGrid Gets or sets a value indicating whether the rendered rectangles should be aligned to pixel grid.