Convert word document in Byte[] to PDF

Product: PDFTron

Product Version: Assembly PDFNet, Version=

Please give a brief summary of your issue:
Convert Word document, byte[] to pdf file

Please describe your issue and provide steps to reproduce it:
I have a file read from azure blob storage and i get byte[] for the file. I want to convert this byte[] to pdf but I am not able to find way using ToPdf() or WordToPDf(). Pleas ehelp.

Please provide a link to a minimal sample where the issue is reproducible:

1 Like

You can use the OfficeToPDF() or WordToPDF() methods, which takes in a filter. For example, please take a look at the following post on how to use a byte array to convert an office file on Java:


Thank you for the post. This is so very hidden and complex.

1 Like