I’m investigating to use PDFTron to handle file conversions and have some questions. I’m working with dotnet core using C#. Currently the way our system is setup is that we get a Stream as input and want to save a pdf back to a Stream.
For normal pdfs I noticed
new PDFDoc() accepts a Stream and in
PDFDoc.Save() I can also give a Stream, which is exactly what I need.
The problem I’m having is with other file types. For example when I have an office file I use
pdftron.PDF.Convert.OfficeToPDF(), but this one only accepts a string that points to a file somewhere on disk instead of a Stream.
PDFDraw(), it has a function called
Export(), but I cannot find a way to use it to output it as a Stream the same way
Is this possible with pdftron?