GroupDocs.Conversion for .NET 22.1 Release Notes

Major Features

There are 5+ features, improvements and bug-fixes in this release, most notable are:

  • Introduced fluent syntax
  • Converting specified sheets from an excel file
  • Improved conversion quallity from SVG

Full List of Issues Covering all Changes in this Release

KeyCategorySummary
CONVERSIONNET-5001FeatureImplement fluent syntax when setting conversion options
CONVERSIONNET-5025FeatureConverting specified sheets in an excel file
CONVERSIONNET-5078ImprovementImprove svg to image conversion quality
CONVERSIONNET-4812BugHow to preserve hyperlinks
CONVERSIONNET-4819BugPDF to DOCX conversion throws exception
CONVERSIONNET-4895BugEML to PNG conversion issue
CONVERSIONNET-4999BugHTML to PDF conversion - output doesn’t show controls properly
CONVERSIONNET-5000BugIssue in resizing JPG
CONVERSIONNET-5045BugDWG to PNG conversion - output is trimmed
CONVERSIONNET-5047BugSkiaSharp throws unhandled exception

Public API and Backward Incompatible Changes

  1. Introduced fluent syntax

    var converter = new Converter();
    
    converter.Load("sample.docx")
             .ConvertTo("converted.pdf")
             .Convert();
        
    converter.WithSettings(() => new ConverterSettings())
        .Load("sample.pdf").WithOptions(new PdfLoadOptions())
        .ConvertTo("converted.docx").WithOptions(new WordProcessingConvertOptions())
        .OnConversionCompleted(convertedDocumentStream => { })
        .Convert();
        
    converter.Load("sample.pdf").WithOptions(new PdfLoadOptions())
        .ConvertByPageTo((page => new FileStream($"converted-{page}.docx", FileMode.Create))).WithOptions(new WordProcessingConvertOptions())
        .OnConversionCompleted((page, stream) => {})
        .Convert();
        
    converter.Load("sample.pdf").GetPossibleConversions();
    converter.Load("sample.pdf").GetDocumentInfo();
    converter.Load("sample.pdf").WithOptions(new PdfLoadOptions()).GetPossibleConversions();
    converter.Load("sample.pdf").WithOptions(new PdfLoadOptions()).GetDocumentInfo();
    
  2. Introduced new property in class SpreadsheetLoadOptions

    /// <summary>
    /// Sheet name to convert
    /// </summary>
    public IList<string> Sheets { get; set; }
    

© Aspose Pty Ltd 2001-2022. All Rights Reserved.