GroupDocs.Viewer for .NET 21.6 Release Notes

Major Features

There are 23 features, improvements, and bug-fixes in this release, most notable are:

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
VIEWERNET-3323Define page size when rendering TXT to HTMLFeature
VIEWERNET-3296Specify default document to open as a query string parameter in Angular UIFeature
VIEWERNET-3227Make special exception message if file protected by RMSImprovement
VIEWERNET-3181Change DGN V8 exception messageImprovement
VIEWERNET-3330Conversion GIF to HTML - A generic error occurred in GDI+Bug
VIEWERNET-3328GetViewInfo returns hidden Excel worksheets in .NETBug
VIEWERNET-3326Incorrect page size when rendering spreadsheets by rowsBug
VIEWERNET-3322Incorrect page size when rendering spreadsheets by page breaksBug
VIEWERNET-3316Null reference exception when converting certain XLSM to HTML in .NETBug
VIEWERNET-3300PNG image becomes a black squareBug
VIEWERNET-3298Preserve the page layout of the original document when rendering in pngBug
VIEWERNET-3297"Object reference not set to an instance of an object.” exception when rendering VSSX fileBug
VIEWERNET-3290"Parameter is not valid.” exception when rendering VSD file to HTMLBug
VIEWERNET-3285'Object reference not set to an instance of an object.’ when getting view info for VSS-fileBug
VIEWERNET-3284Rendering table headings of XLSX as HTML not working for hidden columns in .NETBug
VIEWERNET-3282Convert GIF to HTML - bad qualityBug
VIEWERNET-3276"Unexcepted eof.” exception when rendering VSDX fileBug
VIEWERNET-3270"Value was either too large or too small for an Int32.” exception when rendering DOCX fileBug
VIEWERNET-3231"Parameter is not valid.” exception when rendering VSD fileBug
VIEWERNET-3219"The argument cannot be null or empty string. (Parameter ‘name’)” exception when rendering ODS fileBug
VIEWERNET-3184Invalid row index when rendering XLSMBug
VIEWERNET-2924"Image export failed.” exception when rendering EMF fileBug
VIEWERNET-2848"Image export failed.” exception when rendering TIFF fileBug

Public API Changes

GroupDocs.Viewer.Options.BaseViewOptions class

Added new TextOptions property.

/// <summary>
/// Text files splitting to pages options.
/// </summary>
public TextOptions TextOptions { get; set; } = new TextOptions();

And related TextOptions class to configure rendering text files e.g TXT, LOG.

/// <summary>
/// Text files splitting to pages options.
/// </summary>
public class TextOptions
{
    /// <summary>
    /// Max chars per row on page. Default value is 85.
    /// </summary>
    public int MaxCharsPerRow { get; set; } = 85;

    /// <summary>
    /// Max rows per page. Default value is 55.
    /// </summary>
    public int MaxRowsPerPage { get; set; } = 55;
}

See how to use new properties in Define page size when rendering TXT to HTML.