HTMLBind() call not working as expected

I am trying to get an HTML page (stored locally) rendered to PDF using Aspose PDF. Unfortunately, all the layout and styling are being lost - all I get is the text (not the raw HTML.) Thinking I was doing something wrong, I tried using HTMLBind([website on Internet]) and that threw this error...

2 Errors when parsing the html document
Aspose.Pdf.HTML.? Aspose.Pdf.HTML.?
We save the fixed html document as the xml file : C:\Documents and Settings\pet8
6064.FGG\Local Settings\Temp\tmp113.html.xml .
Actually we just simply fixed the nested tags such as li,ol,ul.
We don't know whether it is right to fix it as we have done.
If you meet the console error information,try to fix the errors by yourself and
regenerate pdf with this toolkit later.

Here is my code for trying to render the local HTML file...

private void HtmlBaseFileToPdf(string filename, string strExt)
{
try
{
// get the root name of the file (name w/o extension.)
string rootFilename = filename.Substring(0, filename.LastIndexOf(".") + 1);
Pdf pdf = new Pdf();
pdf.BindHTML(strPdfOutput + @"\temp\" + rootFilename + strExt);
pdf.Save(strPdfOutput + @"\" + rootFilename + "pdf");
}
catch (Exception ex)
{
System.Console.Write(ex.Message);
}
}

What I need is to render the html file as WYSIWYG (or very close to it) to PDF using Aspose products. My question to you is this...Can Aspose products accomplish this task?

Hi,

Thank you for considering Aspose.

Could you please share your HTML file and let us investigate the issue. If it is confidential then you can also send to me using the steps mentioned in following article:

https://forum.aspose.com/t/how-to-share-a-document-in-a-forum-post/225947

Please note that we are not supporting Cascading Style Sheets(CSS) in conversion to PDF. To see the supported HTML Tag please check the following URL:

Thanks.

Here's HTML...
#############################################################




This is a Test HTML File



Three Dog Night







The ink is black The page is white
Together we learn to read and write.



This is a sample HTML file!



#############################################################

If Aspose.PDF cannot render a web page as it appears (css and all), then it will not be a viable solutions for us. Simply rendering the text does not gain us much at all.

Dear Kyle,

We are working hard to support CSS, but it is not short time task. We still need two months to support CSS in full. So, to be honest if it is a must requirement then you can check some other product for HTML to Pdf. Sorry for inconvenience.

Please let me know, if I can be of any help to you.

Thanks.