We are happy to announce the release of Spire.Doc 11.7.0. This version supports setting the number of characters for the first line indent and locking the aspect ratio of text boxes and images. Besides, it enhances the conversion from Word to PDF. Moreover, some known issues are fixed successfully in this version, such as the issue that the value obtained before and after a paragraph was incorrect. More details are listed below.
Here is a list of changes made in this release
Category | ID | Description |
New feature | SPIREDOC-3548 | Supports setting the number of characters for the first line indent.
paragraph.ParagraphFormat.FirstLineIndentChars = value; Positive value: sets first-line indentation Negative value: sets hanging indentation When value is 0, using paragraph.Format.SetFirstLineIndentChars(0) method. |
New feature | SPIREDOC-4467 | Supports locking the aspect ratio of text boxes.
textBox.AspectRatioLocked = true; //The aspect ratio is not locked by default when a text box is added |
New feature | SPIREDOC-7850 | Supports locking the aspect ratio of images.
picture.AspectRatioLocked = true; // The aspect ratio is locked by default when a picture is added |
New feature | SPIREDOC-9137 | Adds the static method FromEqField() to OfficeMath for converting EQField to OfficeMath. |
Bug | SPIREDOC-3366 | Fixes the issue that when setting the width of pictures with auto-lock aspect ratio, the height would not be adjusted accordingly. |
Bug | SPIREDOC-7839 | Fixes the issue that the "Object reference not set to an instance of an object" exception was thrown when converting Word to PDF. |
Bug | SPIREDOC-8340 | Fixes the issue that the System.ArgumentOutOfRangeException exception was thrown when converting Word to PDF. |
Bug | SPIREDOC-9341 | Fixes the issue that mail merge fields' values were not updated correctly. |
Bug | SPIREDOC-9371 | Fixes the issue that the "System.NullReferenceException" exception was thrown when comparing documents. |
Bug | SPIREDOC-9450 | Fixes the issue that the value obtained before and after a paragraph was incorrect. |
Bug | SPIREDOC-9525 | Fixes the issue that the System.InvalidOperationException exception was thrown when comparing a Dotm document with a Docx document. |
Click the link to download Spire.Doc 11.7.0:
More information of Spire.Doc new release or hotfix: