1. Save a Document to pdf file
2. Make a change to a paragraph
3. Save the document to pdf file again
Expected behaviour: saved file contains updated text
Actual behaviour: saved file retains old paragraph text
Observed in Spire.Doc v10.10.4 and v11.4.0 on .NET Framework 4.6.2 and 4.8 (on Windows) respectively in both a WPF and Console application.
Example
- Code: Select all
Document doc = new Document();
Section section = doc.AddSection();
Paragraph p = section.AddParagraph();
p.AppendText("foo");
doc.SaveToFile("test1.pdf");
p.AppendText("bar");
doc.SaveToFile("test2.pdf");
Both test.1pdf and test2.pdf contain only the text "foo". The text "bar" never appears in test2.pdf.