I’m trying to convert an rtf file’s byte array into a pdf format byte array so it can be saved and opened as a DF but I’m having trouble achieving this.
One way I was told to do this was to send it to the PDFCreator printer and I keep finding code like this everywhere I look but I don’t understand why it only takes one file path, surely it would need two (the file path of the rtf file to print and the location I want to save the pdf file that’s created too).
ProcessStartInfo info = new ProcessStartInfo();
info.Verb = “print”;
info.FileName = “file path”;
info.CreateNoWindow = true;
info.WindowStyle = ProcessWindowStyle.Hidd en; https://appsync.biz/scrabble-word-finder/ https://www.applock.ooo/ https://www.7zip.vip/
Process p = new Process();
p.StartInfo = info;
Has anyone else had to do this before, is there a good way of doing this simple conversion?