How to generate PDF object from HTML and other PDF object

I need to generate a pdf file which has header/footer from HTML and the content is generated by API.

Let's say PDF object which is bind from HTML as "htmlObject", other PDF which is generated from API as "pdfObject"

htmlObject is generated like this way:

Pdf pdfDocPart1 = new Pdf();

string testString1 = "Hello world!!!";

StringReader stringReader1 = new StringReader(testString1);

pdfDocPart1.BindHTML(stringReader1);

How can i put the content of "htmlObject" as a header/footer of "pdfObject"

Hi,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.

You should use inline HTML. Please refer to HTML Tags in Text. But the HTML feature is beta version and it is not mature enough. You should evaluate it first.