We are happy to announce the release of Spread.NET v17 Service Pack 2! This release mainly focuses on bug fixes and includes two enhancements to Spread.
Ready to Check Out the Latest Release? Download Spread.NET Today!
Picture Sizing Mode
The InsertPictureInCell method has been enhanced to return a CellImage, which can be customized in terms of sizing. The new SizingMode enumeration includes:
- Fit - Fits the image in a cell, maintaining the original aspect ratio
- Fill - Fills an entire cell with the image, ignoring the aspect ratio
- Original - Maintains the original image size, which may exceed the bounds of the cell
- Custom - Displays the image according to a custom height and width
Check out the Adding Image in a Cell documentation.
Text Rendering Enhancement
The Text Renderer in Spread.NET has been enhanced to enable the user to turn GDI Text Rendering on and off. This is achieved using the TextHelper.UseGDITextRendering property. Graphics Device Interface (GDI) rendering is a legacy rendering component for Microsoft Windows and, in some cases, can render text incorrectly:
By setting it to false, we can fix some of the text rendering:
Check out the Text Rendering with GDI documentation.
These are the new features that we have added to Spread.NET with v17 Service Pack 2, among many bug fixes. Be sure to try out these new Spread.NET features, and check out our documentation today!
Ready to Check Out the Latest Release? Download Spread.NET Today!