GroupDocs.Viewer for .NET 21.4 Release Notes
Major Features
There are 19 features, improvements, and bug-fixes in this release, most notable are:
- GroupDocs.Viewer WPF Example
- GroupDocs.Viewer Windows Forms Example
- Add support of resizing images when rendering to HTML/PDF
- Watermark styles correct page layout
- Descriptive exception message when opening password-protected ODP/OTP presentations
- Default font is applied when rendering PPTX
Full List of Issues Covering all Changes in this Release
Key | Summary | Category |
---|---|---|
VIEWERNET-3144 | GroupDocs.Viewer WPF Example | Feature |
VIEWERNET-3139 | GroupDocs.Viewer Windows Forms Example | Feature |
VIEWERNET-2945 | Add support of resizing images when rendering to HTML/PDF | Feature |
VIEWERNET-3135 | Watermark styles are breaking page layout | Bug |
VIEWERNET-2852 | “Image export failed.” exception when rendering SVG file | Bug |
VIEWERNET-3151 | Output SVG is not valid when converting EMF | Bug |
VIEWERNET-2814 | Could not load file. File is corrupted or damaged. | Bug |
VIEWERNET-3101 | Html markup broken for specific VSD file | Bug |
VIEWERNET-3149 | Content is missing when rendering XLSX file | Bug |
VIEWERNET-3154 | Ignore empty pages when rendering Excel spreadsheets | Bug |
VIEWERNET-3156 | Output image or html is filled with black color | Bug |
VIEWERNET-3157 | Exception thrown when rendering from PDF with images in Linux | Bug |
VIEWERNET-3158 | Default font is not applied when rendering PPTX | Bug |
VIEWERNET-2828 | “Could not load file. File is corrupted or damaged.” exception when rendering IFC file | Bug |
VIEWERNET-3161 | Descriptive exception message when opening password-protected ODP/OTP presentations | Bug |
VIEWERNET-2786 | Problem with jpf image cache size | Bug |
VIEWERNET-2742 | Image export failed JPF | Bug |
VIEWERNET-3105 | DOCX to HTML: Incorrect SVG image rendering | Bug |
VIEWERNET-3071 | “Value cannot be null.Parameter name: key” exception when rendering PDF to JPEG in Linux | Bug |
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; }