Apply Gradient Shading to Text and Manipulate Tables inside PDF documents

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

We are very much excited to announce the release of Aspose.PDF for .NET 18.7, which is available over NuGet Gallery for download and to be used in .NET Applications. This new release has been rolled out with quite excited features and enhancements. Several fixes to the bugs reported in earlier versions of the API, have also been included in latest release of the API. In case you are planning to use latest version, we strongly recommend you to go through the release notes page of the API in official documentation. All public API Changes including improvements and new features have been mentioned in the release notes. However, following are some major features which have been offered with new release of Aspose.PDF for .NET.

Add Text with Gradient Shading

In text editing scenarios, applying gradient shading or pattern colorspace to the text is now available in latest release of the API. Aspose.Pdf.Color Class has further been enhanced by introducing new property of PatternColorSpace, which can be used to specify shading colors for the text. An example demonstrating the usage of mentioned feature can be checked at following link in API documentation:

Manipulate Table inside PDF document

Earlier it was achievable to add table inside PDF document as well as extract it using TableAbsorber Class. However, new features have been added to the API in order to remove as well as replace existing tables with new ones. Existing TableAbsorber Class has further been enhanced by introducing following new methods:

  • Remove(AbsorbedTable table)
  • Replace(Page page, AbsorbedTable oldTable, Table newTable)

In order to use above mentioned methods to remove and replace tables inside PDF document, please check following articles in API documentation:

Remove Text from PDF document

Existing TextFragmentAbsober Class has further been enhanced by adding new method i.e. RemoveAllText(). You can remove text from particular page as well as from whole PDF document using this method. In particular scenarios where text removal from PDF is an important requirement, this new method works quite efficiently and fast. Following example in API documentation demonstrate usage of this method:

Support for Tagged PDF documents

Since functionality to generate Tagged PDF documents has been under development, completed features have also been included in this release of the API. Following is the list of features related to Tagged (PDF/UA) PDF documents:

  • Validation for Tagged of Real Content has been implemented
  • Implemented validation for Artifacts
  • Implemented Recognition of Natural Language
  • Added Support of Graphics Operators in Content Sequence Classes
  • Validation of Graphics has been added
  • Added Support for images in tagged content
  • Bounding box for images has been added
  • Image attributes are supported for tagged PDF

Miscellaneous Fixes

Along with the above mentioned features, 25 fixes have also been incorporated in Aspose.PDF for .NET 18.7. Some important fixes and improvements include:

  • Worked to improve heading formatting inside PDF document
  • Improved functionality of TextFragmentAbsorber Class
  • Text replacement operations have further been improved
  • Inter-File Format conversions have been improved further for compliance tests
  • Image rendering inside PDF has been improved
  • Text rendering inside tables has been improved
  • PDF to image conversions has been further improved and enhanced

Aspose.PDF for .NET Resources

As it is always recommended to use latest releases of our API’s, so we suggest you to please download the latest release Aspose.PDF for .NET 18.7 and check following resources which will help you working with API:


To keep up with our news, you can follow us on Twitter or follow our Facebook page.