GroupDocs.Viewer For .NET 3.4.0 Release Notes

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

Major Features

There are 24 improvements and fixes in this regular monthly release. The most notable are:

  • Improved rendering performance.
  • Improved applying watermark performance.
  • Improved GetPdfFile method usability and performance.

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
VIEWERNET-628Implement RotatePage method that returns voidImprovement
VIEWERNET-663Improve library performanceImprovement
VIEWERNET-665Improve applying watermark performanceImprovement
VIEWERNET-670Improve get pdf file performanceImprovement
VIEWERNET-674Improve GetPdfFile method usabilityImprovement
WEB-1734Hide the hidden sheets for .xls fileImprovement
VIEWERNET-652Small images are not visible in image modeBug
VIEWERNET-655Invalid parameter exception while converting mpt to imageBug
VIEWERNET-659File is corrupted or damaged exception while converting mpt document to imageBug
VIEWERNET-662Project reading exception in multithreading environmentBug
VIEWERNET-681GetPdfFile returns all pages in trial modeBug
VIEWERNET-682JpegQuality is not applied for watermarked imagesBug
VIEWERNET-684Invalid Rendering of Excel File into Html and ImageBug
VIEWERNET-689Incorrect Rendering of Excel File into Html and ImageBug
VIEWERNET-690GetPages() for Email Attachment Throws Path Exception for Relative Storage PathBug
VIEWERNET-693Invalid Parameter Exception in Html RenderingBug
VIEWERNET-701GetPages() Throws Exception In Case of Stream ObjectBug
VIEWERNET-722Failed to load xps document in image mode with pdfBug
VIEWERNET-725API Renders First Sheet Twice in Excel WorkbookBug
WEB-1709Text is shifted and duplicated in a PDF produced from VSDBug
WEB-1813Diagram file rendering regressionBug
WEB-2029Incorrect saving XLSX to HTMLBug
WEB-2289Incomplete converting XLSX to HTMLBug
WEB-2322Text coordinates are incorrect for a specific documentBug
WEB-2433Not all content of the Visio file is stored when converting to the PDFBug
VIEWERNET-729Incorrect Spacing between Characters in Html RenderingBug

Public API and Backward Incompatible Changes

The PdfFileOptions AddPrintAction property is obsolete in version 3.4.0, please use PdfFileOptions Transformations property and Transformation.AddPringAction enumeration.

Get original file in Pdf format with print action

Add watermark to Pdf document by setting AddPrintAction property to True of PdfFileOptions.

// Setup GroupDocs.Viewer config
ViewerConfig config = new ViewerConfig();
config.StoragePath = @"C:\storage";

// Create image handler
ViewerImageHandler imageHandler = new ViewerImageHandler(config);

PdfFileOptions options = new PdfFileOptions();
options.Guid = "word.doc";

// Set add print action property
options.AddPrintAction = true;

// Get file as pdf with print action
FileContainer container = imageHandler.GetPdfFile(options);
Console.WriteLine("Stream lenght: {0}", container.Stream.Length);

Get original file in Pdf format with transformations

Add watermark to Pdf document by setting Transformations property of PdfFileOptions.

// Setup GroupDocs.Viewer config
ViewerConfig config = new ViewerConfig();
config.StoragePath = @"C:\storage";

// Create image handler
ViewerImageHandler imageHandler = new ViewerImageHandler(config);

PdfFileOptions options = new PdfFileOptions();
options.Guid = "word.doc";

// Set apply rotate and reorder transformations
options.Transformations = Transformation.Rotate | Transformation.Reorder | Transformation.AddPrintAction;

// Get file as pdf with transformations
FileContainer container = imageHandler.GetPdfFile(options);
Console.WriteLine("Stream lenght: {0}", container.Stream.Length);