Table of Contents

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

Uri

ContentHtml

Main content HTML.

public string ContentHtml { get; }

Property Value

string

FirstPageHtml

First page content HTML.

public string? FirstPageHtml { get; set; }

Property Value

string

FooterHeight

Footer height in milimeters.

public int FooterHeight { get; set; }

Property Value

int

FooterHtml

Footer content HTML.

public string? FooterHtml { get; set; }

Property Value

string

HeaderHeight

Header height in milimeters.

public int HeaderHeight { get; set; }

Property Value

int

HeaderHtml

Header content HTML.

public string? HeaderHtml { get; set; }

Property Value

string

LastPageHtml

Last page content HTML.

public string? LastPageHtml { get; set; }

Property Value

string
To top