Gets or sets the media type of the HTML document used by the HTML to Image 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

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public string MediaType { get; set; }
Visual Basic
Public Property MediaType As String
	Get
	Set
Visual C++
public:
property String^ MediaType {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: String

See Also