GroupDocs.Conversion for .NET 18.10 Release Notes

Major Features

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

  • Fixed bug where image inside presentation isn’t the same in ODP output
  • Fixed bug where border are missing in ODS Excel output
  • Fixed bug XLSX file eats almost 2 GB RAM while converting and the process never completes
  • Introduced option for removing embedded files in Pdf

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
CONVERSIONNET-1957Implement option for removing embedded files in PdfImprovement
CONVERSIONNET-1873The image inside presentation isn’t the same in ODP outputBug
CONVERSIONNET-1874Missing border in ODS Excel outputBug
CONVERSIONNET-1923XLSX file eats almost 2 GB RAM while converting and the process never completesBug

Public API and Backward Incompatible Changes

Introduced PdfLoadOptions when converting from PDF

/// <summary>
/// Pdf document load options
/// </summary>
public class PdfLoadOptions : LoadOptions
{
     /// <summary>
     /// Remove embedded files
     /// </summary>
     public bool RemoveEmbeddedFiles { get; set; }
}

Usage

var config = new ConversionConfig();
var conversionHandler = new ConversionHandler(config);
             
const string source = "source.pdf";
var loadOptions = new PdfLoadOptions{
    RemoveEmbeddedFiles = true
}
var saveOptions = new PdfSaveOptions();
saveOptions.PdfOptions.FormatingOptions.PageMode = PdfFormatingOptions.PdfPageMode.FullScreen;
saveOptions.PdfOptions.FormatingOptions.PageLayout = PdfFormatingOptions.PdfPageLayout.SinglePage;
var convertedDocument = conversionHandler.Convert(source, loadOptions, saveOptions);
convertedDocument.Save("result");