Hi, I am trying to build a pdf file and header build with Html is printing in reverse..please advise.
string strHtml = "<table><tr><td>Test Header</td></tr></table>";
Aspose.Pdf.Document doc = new Aspose.Pdf.Document();
Aspose.Pdf.Page page = doc.Pages.Add();
Aspose.Pdf.HtmlFragment headerHtml = new Aspose.Pdf.HtmlFragment(strHtml);
Aspose.Pdf.HeaderFooter hf = new HeaderFooter();
hf.Paragraphs.Add(headerHtml);
page.Header = hf;
doc.Save(@"C:\Projects\DataImpactInvoiceReport\test.pdf");
string strHtml = "<table><tr><td>Test Header</td></tr></table>";
Aspose.Pdf.Document doc = new Aspose.Pdf.Document();
Aspose.Pdf.Page page = doc.Pages.Add();
Aspose.Pdf.HtmlFragment headerHtml = new Aspose.Pdf.HtmlFragment(strHtml);
Aspose.Pdf.HeaderFooter hf = new HeaderFooter();
hf.Paragraphs.Add(headerHtml);
page.Header = hf;
doc.Save(@"C:\Projects\DataImpactInvoiceReport\test.pdf");