GroupDocs.Conversion for .NET 17.2.0 Release Notes

Major Features

There are 9 new features, improvements and fixes in this regular monthly release. The most notable are:

  • Conversions to specific PDF format
  • Conversions from PDF-A
  • Conversions from Mobi
  • Setting different horizontal and vertical resolution when converting to image
  • Fixed 5 bugs

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
CONVERSIONNET-1685Implement conversion to PDF with setting PDF file formatNew Feature
CONVERSIONNET-1693Conversion of PDF-A file to PDFNew Feature
CONVERSIONNET-1697Implement conversion from MobiNew Feature
CONVERSIONNET-1722Horizontal and Vertical resolutions for conversions to ImageNew Feature
CONVERSIONNET-1692When converting a Cell to Pdf, the sheet is split into multiple pdf pagesBug
CONVERSIONNET-1581System.ArgumentOutOfRangeException when adding shape to slide and savingBug
CONVERSIONNET-1709Converting TXT to any format with limiting pages produces wrong outputBug
CONVERSIONNET-1684Exception when trying to access SaveOptions.ConvertFileTypeBug
CONVERSIONNET-1696.tif to .png conversion is not as expectedBug

Public API and Backward Incompatible Changes

ImageSaveOptions.Dpi is marked as obsolete

var storagePath = @"c:\Worx\aspose\sources\GroupDocs.Conversion.Test\SampleFiles";
// Setup Conversion configuration
var conversionConfig = new ConversionConfig {StoragePath = storagePath};
//instantiating the conversion handler
var conversionHandler = new ConversionHandler(conversionConfig);
var options = new ImageSaveOptions
{
    ConvertFileType = ImageSaveOptions.ImageFileType.Tiff,
	// Dpi is obsolete, now horizontal and vertical resolutions can be set independently
    HorizontalResolution = 96,
	VerticalResolution = 96
};
var convertedDocumentStream = conversionHandler.Convert<IList<Stream>>("sample.docx", options);