Create pdf with xml and pdf byte array

We can concatenate 2 or more different pdfs and 2 or more document objects(wml). I have a requirement to combine a pdf byte array with a wml byte array. Can you please let me know how can i achieve this?


Hi Harikrishna,

I’m afraid, I couldn’t understand what other format you want to concatenate with PDF file. When you say WML, do you mean Wireless Markup Language? If you mean XML then what kind of XML it is? Please elaborate your requirement a little bit, so we could guide you accordingly.

Regards,

I need to combile a pdf document byte array with a word document byte array which is baiscally a word ML.

Hi Harikrishna,

You can first convert WordML to PDF using Aspose.Words for .NET and then use Aspose.Pdf for .NET to concatenate the PDF files. You can convert the byte array to memory stream and then use the Concatenate method’s overload with streams as input.

I hope this helps. If you find any further questions, please do let us know.
Regards,