Hi,
We are saving our source files as .sfdt and in the end of our flow we want to generate a Word document from this .sfdt file.
Currently I'm working this way:
// download the .sfdt file and get is as a byte[]
var sfdtByteArray = await _documentAgent.DownloadAttachment(entity.SourceUrl);
// convert byte[] to string
var bytesAsString = Encoding.UTF8.GetString(sfdtByteArray);
// to Word document
var document = WordDocument.Save(bytesAsString, Syncfusion.EJ2.DocumentEditor.FormatType.Docx);
The original header isn't preserved... There is a white banner around the page.
Correct:
After converting with DocumentEditor in .Net core:
How can I fix this? In the Angular editor it shows correctly.