Click or drag to resize
Pdf Library for .NET

PdfHtmlSectionCssMediaType Property

Indicates what css styles are used when the web page is rendered.

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntax
public HtmlToPdfCssMediaType CssMediaType { get; set; }

Property Value

HtmlToPdfCssMediaType
Remarks
The default value is Screen and the page is rendered like in a regular web browser. If the page contains printer specific styles, the property should be set to Print to have the page rendered using those css styles.
See Also