GroupDocs.Conversion for .NET 19.5 Release Notes

Major Features

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

  • Conversions from Dib
  • Conversions from Xlt
  • Conversions from Pot
  • Conversions to Wmf
  • Conversions to Emf
  • Removed obsolete property JpegQuality from ImageSaveOptions
  • Enabled metered licensing

Full List of Issues Covering all Changes in this Release

KeyCategorySummary
CONVERSIONNET-3053FeatureEnabled metered licensing
CONVERSIONNET-3058FeatureImplement conversion from Dib
CONVERSIONNET-3059FeatureImplement conversion from Xlt
CONVERSIONNET-3061FeatureImplement conversion to Wmf
CONVERSIONNET-3062FeatureImplement conversion to Emf
CONVERSIONNET-3087FeatureImplement conversion from Pot

Public API and Backward Incompatible Changes

  1. Convert to Emf

    ...
    var config = new ConversionConfig();
    var conversionHandler = new ConversionHandler(config);
    const string source = "source.pdf";
    var saveOptions = new ImageSaveOptions {
        ConvertFileType = ImageSaveOptions.ImageFileType.Emf
    };
    var convertedDocument = conversionHandler.Convert(source, saveOptions);
    convertedDocument.Save("result");
    ...
    
  2. Convert to Wmf

    ...
    var config = new ConversionConfig();
    var conversionHandler = new ConversionHandler(config);
    const string source = "source.pdf";
    var saveOptions = new ImageSaveOptions {
        ConvertFileType = ImageSaveOptions.ImageFileType.Wmf
    };
    var convertedDocument = conversionHandler.Convert(source, saveOptions);
    convertedDocument.Save("result");
    ...
    
  3. Property JpegQuality from ImageSaveOptions class is removed
    Replaced by ImageSaveOptions.JpegOptions.Quality property

  4. Set Metered license
    Alternatively to license from file, you may set Metered license

    string PublicKey = ""; // Your public license key
    string PrivateKey = ""; // Your private license key
    Metered metered = new Metered();
    metered.SetMeteredKey(PublicKey, PrivateKey);