We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

The output Pdf is different from input Html file

Hello Support,
when converting this html file to Pdf some of the imformations are getting lost and there is a shift in the viewing.
Thanks & regards
Mohamed, Almutalibi

Hi Mohamed Almutalibi,

Thank you for inquiry. While using latest version Aspose.Words 11.0.0, i could not reproduce this problem. We always suggest our customers to use latest version of Aspose.Words. I have attached output Pdf file.

Document doc1 = new Document("c:/temp/00_0000_20120207110154597_1088.html");
// Collect all comments in the document
NodeCollection comments = doc1.GetChildNodes(NodeType.Comment, true);
// Remove all comments.
comments.Clear();
doc1.Save("c:/temp/out1.pdf", SaveFormat.Pdf);

In case of any ambiguity, please let me know.