title: Convert HTML files designed for IE 7, 8 and 9 to PDF using Aspose PDF
body: <p>I have several thousands of HTML files that are designed for and work only in IE 7, 8 and 9.</p>
  
  <p>When I try to convert these to using c# with the code below, they are not properly converted. (i.e. they are converted similar to how it is displayed in IE 11 which is not what's needed).</p>
  
  <p>Link to HTML file:</p>
  
  <p><a href="https://www.dropbox.com/s/8mzln3jjify4yi0/input.zip?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/s/8mzln3jjify4yi0/input.zip?dl=0</a></p>
  
  <p>If you open the HTML file with the current version of IE and go to Developer Tools within IE and emulate IE 7, 8 or 9, the HTML page is displayed properly.</p>
  
  <p>Code:</p>
  
  <pre><code>String basePath = "C:\\temp\\";
  HtmlLoadOptions htmloptions = new HtmlLoadOptions(basePath);
  // Load HTML file
  Document doc = new Document("input.htm", htmloptions);
  // Save HTML file
  doc.Save("output.pdf");
  </code></pre>
  
  <p>How can I get the HTML files to be converted to PDF exactly like how they look in IE 7, 8 or 9? Are there any options or parameters that can be changed to make them convert properly as needed?</p>