GroupDocs.Viewer for .NET 20.9 Release Notes

Major Features

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

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
VIEWERNET-2033Add Adobe Photoshop Large Document Format (.psb) file format supportFeature
VIEWERNET-2547Add feature to render only figures without scheme for Visio filesFeature
VIEWERNET-2548VSS figures are rendered with small sizeBug
VIEWERNET-2690PDF when rendered to HTML doesn’t show drawingBug
VIEWERNET-2706VDW, VSS, VST rendering to IMAGE/HTML works incorrectlyBug
VIEWERNET-2707Row number or column number cannot be zeroBug
VIEWERNET-2710Object reference not set to an instance of an object exception thrown when rendering DNG fileBug
VIEWERNET-2721Wrong error message for not supported dgn versionBug
VIEWERNET-2744Specified argument was out of the range of valid valuesBug
VIEWERNET-2746Сontent breaks on 5 page when converting to PDFBug

Public API and Backward Incompatible Changes

Behavior changes

  • In this version we’ve improved rendering of Visio documents - now you can choose what to render: Visio figures or Visio scheme(diagram), also Visio figures will be rendered automatically if Visio document does not contain scheme pages.

Changes in the public API

GroupDocs.Viewer.FileType

Field was added to GroupDocs.Viewer.FileType class that reflects new file formats that we’re supporting starting from v20.9.

/// <summary>
/// Photoshop Large Document Format (.psb) represents Photoshop Large Document Format used for graphics designing and development.
/// Learn more about this file format <a href="https://docs.fileformat.com/image/psb">here</a>.
/// </summary>
public static readonly FileType PSB = new FileType("Photoshop Large Document Format", ".psb");

GroupDocs.Viewer.Options.VisioRenderingOptions

The VisioRenderingOptions public class is added to the GroupDocs.Viewer.Options namespace. This class contains options used to render Visio files.

/// <summary>
/// The Visio files processing documents view options.
/// </summary>
public class VisioRenderingOptions
{
    /// <summary>
    /// Render only Visio figures, not a diagram
    /// </summary>
    public bool RenderFiguresOnly { get; set; }

    /// <summary>
    /// Figure width, height will be calculated automatically
    /// </summary>
    public int FigureWidth { get; set; } = 100;

    /// <summary>
    /// Check that options are changed
    /// </summary>
    /// <param name="otherObj">Object options for compare</param>
    /// <returns>Options are changed</returns>
    public bool OptionsAreChanged(VisioRenderingOptions otherObj);

    /// <summary>
    /// Clone Options object to remember original options
    /// </summary>
    /// <returns></returns>
    public VisioRenderingOptions Clone();
}