ByteArray input and output for Convert and save functions

Product: PDFNet

Product Version: 9.4.2

Please give a brief summary of your issue:
I am looking to load the template using byte array or input stream, and output the PDF in byte array

Please provide a link to a minimal sample where the issue is reproducible:
Here what I have currently but it is reading template files from a path and output to a file
TemplateDocument template_doc = Convert.createOfficeTemplate(input_path + input_filename, null);

        PDFDoc pdfdoc = template_doc.fillTemplateJson(jsonString);

        // save the result + output_filename, SDFDoc.SaveMode.INCREMENTAL, null);

Hi Tom,

The CreateOfficeTemplate method can take a filter as an input. You can use the filter class to pass in a byte array. For more information please view the documentation:

Please let me know how this works for you, and if you have any further questions.