GroupDocs.Viewer for .NET 20.12 Release Notes

Major Features

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

  • Improved default font support when converting PowerPoint files to PNG/JPG
  • RenderSinglePage option is now supported by GetViewInfo method

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
VIEWERNET-2459Improve default font support when converting PowerPoint files to PNG/JPGFeature
VIEWERNET-2933Add support of RenderSinglePage option by GetViewInfo methodImprovement
VIEWERNET-2748Evaluation watermark appears in licensed mode when viewing NSFBug
VIEWERNET-2820“Failed to open presentation with error: Input string was not in a correct format.” exception when rendering ODP file"Bug
VIEWERNET-2821“Could not load file. File is corrupted or damaged.” exception when rendering DWF file"Bug
VIEWERNET-2829“Failed to open presentation with error: Object reference not set to an instance of an object.” exception when rendering PPTX file"Bug
VIEWERNET-2903Rendering an EML file doesn’t show attachment detailsBug
VIEWERNET-2911“Index was out of range. Must be non-negative and less than the size of the collection. (Parameter ‘index’)” exception when rendering MPP file"Bug
VIEWERNET-2914“Could not load file. File is corrupted or damaged.” exception when rendering DWF file"Bug
VIEWERNET-2923“Index was out of range. Must be non-negative and less than the size of the collection. (Parameter ‘index’)” exception when rendering MPP file"Bug
VIEWERNET-2927“Index was outside the bounds of the array.” exception when rendering MPP file"Bug
VIEWERNET-2935“Could not load file. File is corrupted or damaged.” exception when rendering DOCX file"Bug
VIEWERNET-2937“Failed to open presentation with error: All column’s widths must be greater than zero.” exception when rendering PPTX file"Bug
VIEWERNET-2978Level index must lay in 0..8 interval exception when rendering FODP fileBug
VIEWERNET-2981PPTX to HTML has a title on page top that is not in the original documentBug
VIEWERNET-1808Wrong rendering of the PCL fileBug
VIEWERNET-2486“Index was out of range” exception when rendering VSDX file"Bug
VIEWERNET-2579“File is corrupted or damaged” exception is thrown when rendring DWG file"Bug
VIEWERNET-2630Issue in rendering DNG fileBug
VIEWERNET-2648Can’t view vss fileBug
VIEWERNET-2664SVGZ result image damaged in PDF conversion and other conversionsBug
VIEWERNET-2711File is corrupted or damaged exception was thrown when rendering TIFF documentBug
VIEWERNET-2717HTML Rendering of PDF Files is including wrong CSSBug
VIEWERNET-2830“Parameter is not valid.” exception when rendering ODS file"Bug
VIEWERNET-2849Value cannot be null. Parameter name: sourceBug
VIEWERNET-2857File is damaged for MHT fileBug
VIEWERNET-2861“Object reference not set to an instance of an object.” exception when rendering VSS file"Bug
VIEWERNET-2881GroupDocs products conflictBug
VIEWERNET-2925“Object reference not set to an instance of an object.” exception when rendering VSSX file"Bug
VIEWERNET-2932Destination array is not long enough to copy all the items in the collection. Check array index and length.Bug
VIEWERNET-2939The column index should not be inside the pivottable reportBug
VIEWERNET-2943Cannot render RAR to PNGBug
VIEWERNET-2951Rendering XLSM to HTML takes a lot of timeBug
VIEWERNET-2955Links are rendered incorrectly when rendering Markdown fileBug

Public API and Backward Incompatible Changes

Public API Changes

Removed two public methods that has internal purpose listed below from VisioRenderingOptions class.

/// <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()

Behavior changes

In this version we’ve improved rendering of archives - when you use HtmlViewOptions with RenderSinglePage = true and calling the GetViewInfo method you get 1 page in result info:


 using (Viewer viewer = new Viewer("sample.zip"))
 {
     HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
     viewOptions.RenderSinglePage = true;

     ViewInfoOptions viewInfoOptions = ViewInfoOptions.FromHtmlViewOptions(viewOptions);
     ViewInfo viewInfo = viewer.GetViewInfo(viewInfoOptions);

     // will print "Zipped File (.zip) with 1 page(s)"
     Console.WriteLine(viewInfo);

     // will produce single page
     viewer.View(viewOptions);
 }