Hi,
Actually what I am doing is that I load with a FileStream a Template and I do some MailMerge, after that I save it into the LocalFolder.
WordDocument document = new WordDocument();
Stream fileStream = new FileStream("TemplateRapport.docx", FileMode.OpenOrCreate, FileAccess.Read, FileShare.ReadWrite);
document.Open(fileStream, Syncfusion.DocIO.FormatType.Docx);
//Some MailMerge
StorageFolder folder = ApplicationData.Current.LocalFolder;
StorageFile file = await folder.CreateFileAsync("Rapport-"+fiche.reference+".docx", CreationCollisionOption.ReplaceExisting);
await document.SaveAsync(file, Syncfusion.DocIO.FormatType.Docx);
document.Close();
Without the Chart, I have no problem to save it, but when I add a chart manually to my Template I have an exception.
Regards,
Charles
Hi,
Now that I can save my word document, I have an other problem, when I load it inside a SfRichTextBoxAdv, the chart is not visible.
So I can't print it.
Regars,
Charles