HiQPdf Documentation

HtmlObjectBaseMediaType Property

HiQPdf Client for .NET Core
Controls the media type for which to render the HTML document in this HTML object. If this property is null or empty the default media type is 'screen'. It can be set to a value like 'print' and in this case the CSS properties defined by the '@media print' rule will be used when the HTML is rendered

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0

public string MediaType { get; set; }

Property Value

Type: String
See Also