Hello,
When I save as docx file, the result keeps the justify medium i am using in my template file. But when convert it to PDF its all gone.
here is my Code
string template = "C:\Users\USERNAME\Documents\template.docx";
Document doc = new Document(template);
DocumentBuilder builder = new DocumentBuilder(doc);
// saving as docx is working, it keeps the justify medium
// doc.Save(template.Replace(".docx", "2.docx")); //=> comment this line to be pass to pdf conversion
// saving as pdf is NOT working, it DOES NOT keep the justify medium at all
doc.Save(template.Replace(".docx", ".pdf"));//=> comment if above line not commented
Console.WriteLine("saved");
Console.ReadLine();