GroupDocs.Viewer for .NET 20.2 Release Notes

This page contains release notes for GroupDocs.Viewer for .NET 20.2

Major Features

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

  • Added support of retrieving an attachment file type
  • Display folder name in the header when rendering archives

Full List of Issues Covering all Changes in this Release

VIEWERNET-2318Support retrieving an attachment file typeFeature
VIEWERNET-2323Include folder name when rendering archive foldersFeature
VIEWERNET-2324Recreate output files and resources instead of writing overImprovement
VIEWERNET-8Overlapping Characters in Safari for iOSBug
VIEWERNET-226Files being created in Windows temp folderBug
VIEWERNET-257Incorrect rendering of DWG file as imageBug
VIEWERNET-1202Invalid characters while viewing rendered HTML in IEBug
VIEWERNET-2175STL file is rendered into blank HTML or imageBug
VIEWERNET-2306Issue in rendering/converting email attachmentsBug
VIEWERNET-2315Getting evaluation message on second server even license is appliedBug
VIEWERNET-2319Archive file name is missing when passing file streamBug
VIEWERNET-2320GetViewInfo hangs indefinitelyBug
VIEWERNET-2321ArchiveViewInfo shows that current folder is sub-folder of itselfBug
VIEWERNET-2343Document viewer size discrepancyBug

Public API and Backward Incompatible Changes

In version 20.2 following public class members were added:

/// <summary>
/// When this option enabled the output pages will have the same size
/// in pixels as page size in a source PDF document.
/// By default GroupDocs.Viewer calculates output image page size for better rendering quality.
/// </summary>
/// <remarks>
/// This option is supported when rendering into PNG or JPG formats.
/// </remarks>
public bool RenderOriginalPageSize { get; set; }
/// <summary>
/// Gnu Zipped File (.gz)
/// </summary>
public static readonly FileType GZ = new FileType("Gnu Zipped File", ".gz");

/// <summary>
/// Gnu Zipped File (.gzip)
/// </summary>
public static readonly FileType GZIP = new FileType("Gnu Zipped File", ".gzip");
/// <summary>
/// Maps file media type to file type e.g. 'application/pdf' will be mapped to <see cref="FileType.PDF"/>.
/// </summary>
/// <param name="mediaType">File media type e.g. application/pdf.</param>
/// <exception cref="T:System.ArgumentException">Thrown when <paramref name="mediaType"/> is null or empty string.</exception>
/// <returns>Returns corresponding media type when found, otherwise returns default <see cref="Unknown"/> file type.</returns>
public static FileType FromMediaType(string mediaType)