Spire.Doc 11.4.0 supports setting line types(dashed/dotted) in shape objects

2023-04-10 06:01:25

We are glad to announce the release of Spire.Doc 11.4.0. This version supports setting line types(dashed/dotted) in shape objects and supports Docx2016 and Docx2019 file formats. At the same time, it also enhances the conversion from Word to PDF. What’s more, many known issues are successfully fixed, such as the issue that the table style was incorrect after copying content from Document A to Document B. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-5044 Supports setting line types(dashed/dotted) in shape objects.
Document doc = new Document();
Section sec = doc.AddSection();
Paragraph para1 = sec.AddParagraph();
ShapeObject shape1 = para1.AppendShape(100, 100, ShapeType.Line);
shape1.FillColor = Color.Purple;
shape1.StrokeColor = Color.Black;
shape1.LineStyle = ShapeLineStyle.Single;
shape1.LineDashing = LineDashing.Dash;
doc.SaveToFile("InsertShapes.docx", Spire.Doc.FileFormat.Docx2013);
New feature SPIREDOC-8280 Supports Docx2016 and Docx2019 file formats.
Spire.Doc.FileFormat.Docx2016
Spire.Doc.FileFormat.Docx2019
Bug SPIREDOC-8289 Fixes the issue that the content was misplaced when converting Word documents to PDF.
Bug SPIREDOC-8770 Fixes the issue that the table content lost when converting Word documents to PDF.
Bug SPIREDOC-8930 Fixes the issue that the table style was incorrect after copying content from Document A to Document B.
Bug SPIREDOC-8958 Fixes the issue that the pagination was incorrect when converting Word to PDF.
Bug SPIREDOC-9081 Fixes the issue that the header content was incorrect when converting Word to PDF.
Bug SPIREDOC-9111 Fixes the issue that the application threw "System.IndexOutOfRangeException" when converting Word to PDF.
Bug SPIREDOC-9231 Fixes the issue that the application threw "System.ArgumentException" when merging Word documents.
Click the link to download Spire.Doc 11.4.0:
More information of Spire.Doc new release or hotfix: