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
MarginLeft
Gets or sets the left margin in millimeters.
public double MarginLeft { get; set; }
Property Value
MarginRight
Gets or sets the right margin in millimeters.
public double MarginRight { get; set; }
Property Value
MarginTop
Gets or sets the top margin in millimeters.
public double MarginTop { get; set; }
Property Value
PaperOrientation
Gets or sets the paper orientation. Default is Portrait.
public PdfPaperOrientation PaperOrientation { get; set; }
Property Value
PaperSize
Gets or sets the paper size. Default is A4.
public PdfPaperSize PaperSize { get; set; }
Property Value
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
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
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; }