GroupDocs.Viewer for .NET 20.8 Release Notes

Major Features

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

Full List of Issues Covering all Changes in this Release

VIEWERNET-2393Add Lotus Notes Database (.nsf) file-format supportFeature
VIEWERNET-2607Add Compressed SVG File (.svgz) file-format supportFeature
VIEWERNET-2472“File is corrupted or damaged” exception is thrown when rendering DXF file"Bug
VIEWERNET-2499“A generic error occurred in GDI+” exception occurs when rendering DOCX file"Bug
VIEWERNET-2506“Image export failed” exception when rendering ODG file"Bug
VIEWERNET-2507“Image export failed” when rendering JP2 file"Bug
VIEWERNET-2536“Input string was not in a correct format” exception when rendering VSDX"Bug
VIEWERNET-2539Exception is thrown when rendering PPTX fileBug
VIEWERNET-2584“File is corrupted or damaged” exception is thrown when rendring DOCX file"Bug
VIEWERNET-2585“Parameter is not valid” exception when rendering DOCX file"Bug
VIEWERNET-2586“File is corrupted or damaged” exception when rendering WMF file"Bug
VIEWERNET-2588“Unable to cast object of type” exception when rendering PPTX file"Bug
VIEWERNET-2594“Zoom value should be between 10 and 400” exception when rendering ODS file"Bug
VIEWERNET-2602NullReferenceException when rendering a certain PDF to HTMLBug
VIEWERNET-2633Particular HTML file to PDF rendering issueBug
VIEWERNET-2643Overflow error on VDX fileBug
VIEWERNET-2656Can’t open xlsm fileBug
VIEWERNET-2662The column index should not be inside the pivottable reportBug
VIEWERNET-2663GetViewInfo is stuckBug
VIEWERNET-2694When watermark is added output HTML doesn’t end properlyBug
VIEWERNET-2704Document wrongly marked as encrypted.Bug

Public API and Backward Incompatible Changes

Changes in the public API


Two fields added to GroupDocs.Viewer.FileType class that reflect new file formats that we’re supporting starting from v20.8.

/// <summary>
/// Scalable Vector Graphics File (.svgz) is a Scalar Vector Graphics file that uses XML based text format, compressed by GZIP for describing the appearance of an image.
/// Learn more about this file format <a href="">here</a>
/// </summary>
public static readonly FileType SVGZ = new FileType("Compressed Scalable Vector Graphics File", ".svgz")

/// <summary>
/// Lotus Notes Database (.nsf)
/// Learn more about this file format <a href="">here</a>.
/// </summary>
public static readonly FileType NSF = new FileType("Lotus Notes Database", ".nsf")


public class LotusNotesOptions class added to GroupDocs.Viewer.Options namespace. This class provides options for rendering Lotus Notes data files.

/// <summary>
/// Provides options for rendering Lotus Notes data files.
/// </summary>
public class LotusNotesOptions
    /// <summary>
    /// The keywords used to filter messages.
    /// </summary>
    public string TextFilter { get; set; }

    /// <summary>
    /// The email-address used to filter messages by sender or recipient.
    /// </summary>
    public string AddressFilter { get; set; }

    /// <summary>
    /// The maximum number of messages or items for render.
    /// </summary>
    /// <remarks>
    /// Lotus notes data files can be large and retrieving all messages can take significant time.
    /// This setting limits maximum number of messages or items that are rendered.
    /// Default value is 0 - all messages will be rendered
    /// </remarks>
    public int MaxItems { get; set; } = 0;