I am evaluating Aspose.Words .NET using a free dowonload copy of the software. One of the things I need to do is convert RTF files to PDF files. In my testing, everything looks good except that the RTF images are not displayed in the generated PDF.
I believe that I am using version 16.1.0. So it should have the fix for 6599. Also, I tried the suggested write around of setting the MetaFileRenderingMode to BitMap and the images are still not displayed in the PDF.
My code is:
Document doc = new Document(@“C:\input.rtf”);
PdfSaveOptions pdfSaveOoptions = new PdfSaveOptions(); pdfSaveOoptions.MetafileRenderingOptions.RenderingMode = MetafileRenderingMode.Bitmap;
My input file is attached.
Thanks for the quick response. Regarding converting an RTF file to PDF in MS Word (via Save As), you are correct in that the metafile images are also missing in the PDF generated by Word.
Was it always the case that Aspose.Words didn’t include the metafile images when converting from RTF to PDF? The reason I ask is that I seen on this forum (same subject thread as this one, Post 400517 in reply to 400463) a message that seems to indicate that this had worked at one point in time. I realize that post was from a couple years ago and things may have changed.