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)