Aspose.Pdf for .NET 16.10.0 has been released. This month release includes new feature to set TOC line style to None, Implementation of Wrap Line feature along with some other important enhancements. It also contains number of fixes of bugs reported in pervious versions by our valued customers, that makes it more stable and reliable release as compared to previous releases. Please check the detailed release notes of Aspose.Pdf for .NET 16.10.0 to have an idea about the new features and improvements made in this release of Aspose.Pdf for .NET. If you are planning to upgrade the API from any previous version, we strongly recommend you to check the Public API Changes Section of other intermediate releases from release notes pages, to know what has been changed since your current revision of the API.
The following sections describe some details regarding these newly added features/enhancements.
Set TOC Line Style to None
Some customers have business requirement to create TOC elements without any line style. So we have introduced a new LiesDash property in TocInfo class to set TOC dash line style to none in Aspose.Pdf for .NET 16.10.0. Please check following code snippet to set LineDash value to None from TabLeaderType enum:
// Set the title for TOC tocInfo.Title = title; // Set TOC line dash style tocInfo.LineDash = TabLeaderType.None; tocPage.TocInfo = tocInfo;
Remove XFA Data Structure of Dynamic Form
We have received a requirement to completely remove the XFA structure of a dynamic form instead of converting it to AcroForm. Now we can achieve this goal by converting dynamic form to Standard AcroFrom and later flatten the form as following. It will remove XFA data structure from Dynamic Form.
Document doc = new Document("source.pdf"); doc.Form.Type = FormType.Standard; doc.Form.Flatten(); doc.Save("result.pdf");
Support of Wrap line in New Generator
We have introduced Wrap line feature in TextFragment class of new generator. We can use this feature in all the Objects those support Paragraph object e.g. Page, Table object. We can accomplish this task by setting desired value of WrapLinesCount property of TextFragment object as following:
string outFile = "WrapLine_Test.pdf"; Document doc = new Document(); Page page = doc.Pages.Add(); TextFragment title = new TextFragment("In process to move from Aspose.Pdf.Generator to Aspose.Pdf I need to Move from Text to TextFragment. I am not sure how i can wrap lines in TextFragment. I am not sure how I can wrap lines in TextFragment"); title.WrapLinesCount = 1; page.Paragraphs.Add(title); doc.Save(outFile);
We have improved SVG to PDF conversion feature in this release by resolving some important issues. PDF to HTML conversion feature became more stable with this release, as we have fixed number of issues related to PDF to HTML conversion. Especially font handling and local links rendering, that improve the text rendering quality in this conversion feature.
In addition to above stated improvements, this version also includes some other important bug fixes as well. There have been specific improvements regarding XFA to AcroFrom conversion, XPS to PDF, HTML to PDF, PDF to PDFA and PDF to Image conversion. Please check release notes of Aspose.Pdf for .NET 16.10.0 for complete list of bug fixed.
Aspose.Pdf for .NET Resources
The following resources will help you work with Aspose.Pdf for .NET:
- Home page for Aspose.Pdf for .NET
- Download Aspose.Pdf for .NET
- Aspose.Pdf product family forum – Post your technical questions and queries, or any other problem you faced while running Aspose.Pdf APIs.
- Aspose.Pdf for .NET online documentation – help documentation.
- Aspose.Pdf for .NET online API reference – API reference documents.
- Enable Blog Subscription – Do not limit yourself, you can keep yourself updated with the latest news on Aspose.Pdf, APIs, new features, fixes and other API related topics by subscribing to Aspose.Pdf blog.
- Aspose.Pdf for .NET Examples – We have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.