It is our pleasure to announce November release of Aspose.Words for .NET. We have included quite exciting features and enhancements in this release. Now, you can add Web extension elements in Word document, format the horizontal rule, and use Aspose.Words with .NET Core 3.0. let’s check out how to use newly introduced features.
Support of Web Extension Elements
Microsoft Office allows you to add more functionality through web extension. It extends Office applications and interact with the content in Office documents. Web Extension adds additional functionality to Office client to improve the user experience and productivity.
How to work with Web extensions using Aspose.Words? Well, it is not magic.
We have added Aspose.Words.WebExtensions namespace in this release to work with Web extensions. This namespace allows you to customize elements and attributes that extend the XML vocabulary for representing Office Add-ins. Please read following article about working with Web extensions.
Format Horizontal Rule
Adding horizontal line in MS Word document is sometime called horizontal rule. We have added new feature in this release to format the horizontal rule. In previous versions of Aspose.Words, you can add it using DocumentBuilder.InsertHorizontalRule method. However, formatting of horizontal rule was not supported. We have added Shape.HorizontalRuleFormat property and public class HorizontalRuleFormat in this release to format the horizontal rule. Now, you can set height, width, color, alignment, and 3D shading of it using this release of Aspose.Words. Following code example shows how to format horizontal rule.
Improved Macros Support
Aspose.Words already provides API to read and write the VBA Project. In this release, we have improved the macros support. Now, you can set the name of VBA project, read the VBA project’s code page, read and write VBA module name, add and remove VBA module. Following code example shows how to set properties of VbaProject and VbaModule classes.
Aspose.Words.MailMerging.MailMergeRtlCleanupMode was removed
We have removed obsolete enum Aspose.Words.MailMerging.MailMergeRtlCleanupMode from Aspose.Words’ API.
We recommend you please check the release notes of Aspose.Words for .NET 19.11 for complete detail of API changes.