GroupDocs.Viewer for .NET 21.4 Release Notes

Major Features

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

Full List of Issues Covering all Changes in this Release

VIEWERNET-3144GroupDocs.Viewer WPF ExampleFeature
VIEWERNET-3139GroupDocs.Viewer Windows Forms ExampleFeature
VIEWERNET-2945Add support of resizing images when rendering to HTML/PDFFeature
VIEWERNET-3135Watermark styles are breaking page layoutBug
VIEWERNET-2852"Image export failed.” exception when rendering SVG fileBug
VIEWERNET-3151Output SVG is not valid when converting EMFBug
VIEWERNET-2814Could not load file. File is corrupted or damaged.Bug
VIEWERNET-3101Html markup broken for specific VSD fileBug
VIEWERNET-3149Content is missing when rendering XLSX fileBug
VIEWERNET-3154Ignore empty pages when rendering Excel spreadsheetsBug
VIEWERNET-3156Output image or html is filled with black colorBug
VIEWERNET-3157Exception thrown when rendering from PDF with images in LinuxBug
VIEWERNET-3158Default font is not applied when rendering PPTXBug
VIEWERNET-2828"Could not load file. File is corrupted or damaged.” exception when rendering IFC fileBug
VIEWERNET-3161Descriptive exception message when opening password-protected ODP/OTP presentationsBug
VIEWERNET-2786Problem with jpf image cache sizeBug
VIEWERNET-2742Image export failed JPFBug
VIEWERNET-3105DOCX to HTML: Incorrect SVG image renderingBug
VIEWERNET-3071"Value cannot be null.Parameter name: key” exception when rendering PDF to JPEG in LinuxBug

Public API and Backward Incompatible Changes

Public API Changes

Changes in GroupDocs.Viewer.Options namespace

New properties have been added to GroupDocs.Viewer.Options.HtmlViewOptions and GroupDocs.Viewer.Options.PdfViewOptions classes.

/// <summary>
/// Max width of output image (for PNG/JPG output only)
/// </summary>
public int ImageMaxWidth { get; set; }

/// <summary>
/// Max height of output image (for PNG/JPG output only)
/// </summary>
public int ImageMaxHeight { get; set; }

/// <summary>
/// Image width (for PNG/JPG output only)
/// </summary>
public int ImageWidth { get; set; }

/// <summary>
/// Image Height (for PNG/JPG output only)
/// </summary>
public int ImageHeight { get; set; }