In the HTML document you can define different styles for different media types using @media rules. For example you can have a style for screen with background colors and images and a style for printing without background colors or images to save ink. EVO HTML to PDF Converter allows you to select the media type for which you want to render the HTML document using the MediaType property. In this demo you can choose between rendering for screen or for print media types.
At the top of the demo you can choose the HTML document to convert which can be:

- HTML Page to Convert URL. The URL must be accessible from the computer where the converter runs. If the page requires authentication or if you are using a proxy server to access Internet then you have to set the converter properties accordingly as described in documentation
- HTML String with @Media Rules. When you convert a HTML string you also have the option to specify a base URL that will be used by converter to resolve the relative URLs found in the HTML string to fully qualified URLs. If your HTML string uses only fully qualified URLs then this parameter is not necessary

Select Media Type

- Screen. The converter will use the @media screen rules from CSS
- Print. The converter will use the @media print rules from CSS