How to convert a RTF string or stream to PDF without passing the filepath

Product: PDFNet Windows

Product Version:9.2.0

I am trying to convert a RTF stream or a string to PDF using the toPdf() option in Convert class. But it only takes the file path as the input. Is there any other way to send an RTF string or a stream to convert into PDF? I tried using the Filter options as well StreamingPDFConversion(), but it doesn’t support the RTF extension. Any idea on this one?

Thank you,

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Please note that we do not currently support direct/internal conversion of RTF files. Instead, a 3rd party application, installed on the Windows computer, is needed, and this communication with the 3rd party application requires the file to be on the filesystem.

You could try using a RAM Drive as a work around.