RTF to PDF conversion issue

I am trying to convert RTF content to pdf using Aspose.Word license images styles are overriding how to resolve this.

byte[] byteArray = Encoding.ASCII.GetBytes(File.ReadAllText(@“C:\Users\asagi\Desktop\Prod-1045\File1.txt”));
using (MemoryStream stream = new MemoryStream(byteArray))
{
Aspose.Words.Document document = new Aspose.Words.Document(stream);
document.UpdatePageLayout();
document.Save(@“C:\Users\asagi\Desktop\Prod-1045\1234.pdf”, Aspose.Words.SaveFormat.Pdf);

                }

image.png (6.7 KB)

@asagi,

Your query is related to Aspose.Words back-end API. Hence, we have moved it to Aspose support forum. Please visit this link. Any issue related to free Aspose web apps will be assisted here.