I have a website that runs on IE 11. There is an export to PDF button which when clicked calls a ascx control and renders the html content to ExpertPdf.HtmlToPdf. In production, the PDF text is rendered as an image however in development it is regular text.
I think due to this, the file size of the PDF generated from production is huge when compared to the one produced from development. I checked the Site.Master's meta http equivalent and in both environments it is set to "X-UA-Compatible" content="IE=EmulateIE8".
I don't know what else to check.
I checked the Site.Master's meta http equivalent and in both environments it is set to "X-UA-Compatible" content="IE=EmulateIE8".
You force a webpage to be rendered in Internet Explorer 8 mode.
The X-UA-Compatible meta tag allows web authors to choose what version of Internet Explorer the page should be rendered as. IE11 has made changes to these modes; see the IE11 note below:
Member
15 Points
74 Posts
Issue with PDF rendering size in IE 11
Feb 20, 2016 01:53 AM|csharpnew|LINK
Hello,
I have a website that runs on IE 11. There is an export to PDF button which when clicked calls a ascx control and renders the html content to ExpertPdf.HtmlToPdf. In production, the PDF text is rendered as an image however in development it is regular text. I think due to this, the file size of the PDF generated from production is huge when compared to the one produced from development. I checked the Site.Master's meta http equivalent and in both environments it is set to "X-UA-Compatible" content="IE=EmulateIE8". I don't know what else to check.
Any help will be very much appreciated.
Thanks!
Star
12320 Points
2021 Posts
Re: Issue with PDF rendering size in IE 11
Feb 22, 2016 05:46 AM|Candice Zhou|LINK
Hi,
You force a webpage to be rendered in Internet Explorer 8 mode.
The X-UA-Compatible meta tag allows web authors to choose what version of Internet Explorer the page should be rendered as. IE11 has made changes to these modes; see the IE11 note below:
http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge-e
Best Regards,
Candice Zhou