HtmlToPdfElementMediaType Property

Gets or sets the media type of the HTML document used by the HTML to PDF element. The default media type is 'screen'. If you set this property with 'print' then the CSS properties defined in '@media print' rule will be used to render the document

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public string MediaType { get; set; }

Property Value

String

See Also