In-Memory Conversion of Images to XOD or PDDF

Hi,

We are attempting using .NET to convert in-memory images and documents (TIF*, JPG, GIF, BMP, and DOCX) to PDF and XOD. We cannot perform any disk I/O so we cannot provide a File path into Convert.ToXOD or Convert.ToPPDF. Is there another way to do this?

REF: https://groups.google.com/d/msg/pdfnet-sdk/rWSGSf0PMAU/QMrBicVqLq4J

Thanks!

Yes, you can convert all those in memory. For the images, you would use the AddImage sample project, that comes with our SDK.
https://www.pdftron.com/pdfnet/samplecode/AddImageTest.cs.html

As for the XOD output,there is a function that returns a filter, see this post (there is also a WebViewerStreaming demo project in the SDK)
https://groups.google.com/d/msg/pdfnet-sdk/G3PySIfE8o4/vn1q_zjSFAAJ

For DOCX, you would use our direct office conversion Add-On which can do in memory conversion.
https://www.pdftron.com/pdfnet/samplecode/WordToPDFTest.cs.html