Table of Contents

Class PdfRendererSettings

Namespace
Dynamicweb.Imaging
Assembly
Dynamicweb.Core.dll

Settings used for generating PDF documents.

public sealed class PdfRendererSettings
Inheritance
PdfRendererSettings
Inherited Members

Properties

MarginBottom

Gets or sets the bottom margin in millimeters.

public double MarginBottom { get; set; }

Property Value

double

MarginLeft

Gets or sets the left margin in millimeters.

public double MarginLeft { get; set; }

Property Value

double

MarginRight

Gets or sets the right margin in millimeters.

public double MarginRight { get; set; }

Property Value

double

MarginTop

Gets or sets the top margin in millimeters.

public double MarginTop { get; set; }

Property Value

double

PaperOrientation

Gets or sets the paper orientation. Default is Portrait.

public PdfPaperOrientation PaperOrientation { get; set; }

Property Value

PdfPaperOrientation

PaperSize

Gets or sets the paper size. Default is A4.

public PdfPaperSize PaperSize { get; set; }

Property Value

PdfPaperSize

PaperSizeCustomHeight

Gets or sets the paper size custom height in millimeters. Use this if none of the options for PaperSize fits your needs.

public double PaperSizeCustomHeight { get; set; }

Property Value

double

PaperSizeCustomWidth

Gets or sets the paper size custom width in millimeters. Use this if none of the options for PaperSize fits your needs.

public double PaperSizeCustomWidth { get; set; }

Property Value

double

RenderDelay

Gets or sets the rendering delay in milliseconds. Rendering delay should be avoided, but it can be useful if part of the content is loaded asynchronously (ajax). Default is 0 (no delay).

public int RenderDelay { get; set; }

Property Value

int
To top