Class PdfContent
- Namespace
- Dynamicweb.Imaging
- Assembly
- Dynamicweb.Core.dll
Represents the html content used for generating a pdf document.
public sealed class PdfContent
- Inheritance
-
PdfContent
- Inherited Members
Constructors
PdfContent(string)
Creates a new instance of PdfContent
public PdfContent(string contentHtml)
Parameters
contentHtml
string
Properties
BaseUrl
Base URL used for relative links in the HTML.
public Uri? BaseUrl { get; set; }
Property Value
ContentHtml
Main content HTML.
public string ContentHtml { get; }
Property Value
FirstPageHtml
First page content HTML.
public string? FirstPageHtml { get; set; }
Property Value
FooterHeight
Footer height in milimeters.
public int FooterHeight { get; set; }
Property Value
FooterHtml
Footer content HTML.
public string? FooterHtml { get; set; }
Property Value
HeaderHeight
Header height in milimeters.
public int HeaderHeight { get; set; }
Property Value
HeaderHtml
Header content HTML.
public string? HeaderHtml { get; set; }
Property Value
LastPageHtml
Last page content HTML.
public string? LastPageHtml { get; set; }