Please, check this sample on how to use pdfHtml ConvertToElements, this is exactly what you are asking for. https://github.com/itext/itext-publications-samples-dotnet/blob/develop/itext/itext.publications/itext.publications.htmlsamples/itext/samples/htmlsamples/chapter07/C07E02_CombineHtml2.cs