Frage

I am using the Winnovative HTML to PDF converter and always getting the footer line even though I have set PdfFooterOptions.DrawFooterLine to false. I am calling a HtmlToPdfArea method to create the content in the footer.

Has anyone ever seen this behavior?

War es hilfreich?

Lösung

You probably use an old version because the current version supports highly customizable headers and footers. Please check this HTML to PDF demo with complete C# code to see how to add or not a line in header or footer.

Andere Tipps

I am using below and its working fine for me hope this help

pdfConverter.PdfFooterOptions.AddTextArea(new TextArea(250, 10, 50, "Page &p; of &P;", new Font(new FontFamily("Arial"), 8)));
        pdfConverter.PdfFooterOptions.DrawFooterLine = false;
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top