 |
HtmlToPdfOptionsCssMediaType Property |
Indicates what css styles are used when the web page is rendered.
Namespace:
SelectPdf
Assembly:
Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntaxpublic HtmlToPdfCssMediaType CssMediaType { get; set; }
Public Property CssMediaType As HtmlToPdfCssMediaType
Get
Set
Property Value
Type:
HtmlToPdfCssMediaType
RemarksThe 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