GroupDocs.Conversion for .NET 19.1 Release Notes

Major Features

This regular monthly release contains 5+ improvements and bug fixes. Most notable are: 

  • Conversions from Vcf
  • Improved conversion of Svg to Slides
  • Set watermark as background when converting to image
  • Save converted document return saved file size and file name

Full List of Issues Covering all Changes in this Release

CONVERSIONNET-2862Implement conversion from VcfFeature
CONVERSIONNET-2830Implement conversion improvement when converting Svg to SlidesImprovement
CONVERSIONNET-2878Add support for setting watermark as background when converting to imageImprovement
CONVERSIONNET-2881Save converted document to file should return the file name and sizeImprovement
CONVERSIONNET-2837Spreadsheets sometimes show incorrect graph dataBug
CONVERSIONNET-2863Issue with conversion .docx (with table of content) to .htmlBug
CONVERSIONNET-2864Conversion .pdf to .png (or .jpeg) with watermark as background issueBug
CONVERSIONNET-2871Inconsistent conversion from email file formats when converting to CellsBug
CONVERSIONNET-2876Receiving Aspose.Pdf.InvalidValueFormatException when converting a PDF fileBug

Public API and Backward Incompatible Changes

Removed obsolete namespace GroupDocs.Conversion.Converter.Option

  1. All LoadOptions and SaveOptions classes removed from namespace GroupDocs.Conversion.Converter.Option.
    LoadOptions classes are now in GroupDocs.Conversion.Options.Load namespace and SaveOptions classes are now in GroupDocs.Conversion.Options.Save namespace.

Save converted document returns saved file name and size

/// <summary>
/// Class for handling converted document
/// </summary>
public sealed class ConvertedDocument
    /// <summary>
    /// Save converted document to custom named file
    /// </summary>
    /// <param name="fileName"></param>
    public SaveInfo Save(string fileName)
    /// <summary>
    /// Save specific page from converted document to custom named file
    /// </summary>
    /// <param name="fileName"></param>
    /// <param name="page"></param>
    public SaveInfo Save(string fileName, int page)


var config = new ConversionConfig();
var conversionHandler = new ConversionHandler(config);
const string source = "source.docx";
var saveOptions = new PdfSaveOptions();
var convertedDocument = conversionHandler.Convert(source, saveOptions);
var saveInfo = convertedDocument.Save("converted", 1);
Console.WriteLine("Page 1 file size: {0}", saveInfo.Size);
Console.WriteLine("Page 1 saved path: {0}", saveInfo.FileName);