GroupDocs.Conversion

GroupDocs.Conversion for .NET 18.7 comes with some new features and a bug fix. EmailOptions can be defined in any SaveOptions class such as PdfSaveOptions or CellsSaveOptions. Moreover, API supports explicit font substitution when converting from Word, Cell and Presentation documents. Please refer to GroupDocs.Conversion for .NET 18.7 release notes for further reference. We’d recommend you to integrate latest version of the API in your application and share your feedback.

Features

Following features are introduced in this month’s release:

Explicit Font Substitution

Converting from Cells Substitute specific fonts when converting Cells document.

var loadOptions = new CellsLoadOptions();
loadOptions.FontSubstitutes.Add(new KeyValuePair("Arial", "Tahoma"));
loadOptions.FontSubstitutes.Add(new KeyValuePair("Calibri", "Tahoma"));

Converting from Slides Substitute specific fonts when converting Slides document.

var loadOptions = new SlidesLoadOptions();
loadOptions.FontSubstitutes.Add(new KeyValuePair("Arial", "Tahoma"));
loadOptions.FontSubstitutes.Add(new KeyValuePair("Calibri", "Tahoma"));

Converting from Words Substitute specific fonts when converting Words document.

var loadOptions = new WordsLoadOptions();
loadOptions.FontSubstitutes.Add(new KeyValuePair("Angsana New", "Arial Unicode MS"));
loadOptions.AutoFontSubstitution = false;

EmailOptions in SaveOptions Class

Email specific convert options.

var options = new PdfSaveOptions
{
    EmailOptions =
    {
        DisplayHeader = true,
        DisplayEmailAddress = true,
        DisplayFromEmailAddress = true,
        DisplayToEmailAddress = true,
        DisplayCcEmailAddress = true,
        DisplayBccEmailAddress = true
    }
};

Bug Fixes

  • Fonts loading folder is not properly set when converting from Words

API Resources

Here are a few channels and resources for you to download, learn, try and get technical support on GroupDocs.Conversion:

Feedback

We always welcome you to share your feedback to improve this product. We will be happy to know your thoughts. Just create a forum thread and our dedicated support team will be there to respond.