GroupDocs.Conversion for .NET v26.7 is now available. This release adds Publisher as a source format for multiple conversion targets, introduces Windows‑specific .NET target frameworks, improves automatic dependency resolution on .NET Framework, and includes performance and layout fixes for PDF‑to‑JPG and EML‑to‑PDF conversions.

What’s new in this release

Key Category Summary
CONVERSIONNET-8406 Feature Add net*-windows target frameworks and Windows runtime nuget packages
CONVERSIONNET-8371 Improvement Add Publisher to WordProcessing conversion
CONVERSIONNET-8373 Improvement Add Publisher to Web conversion
CONVERSIONNET-8375 Improvement Add Publisher to Image conversion
CONVERSIONNET-8376 Improvement Auto-resolve dependency assemblies from the library folder on .NET Framework (no binding redirects required)
CONVERSIONNET-8377 Improvement Add Publisher to Presentation conversion
CONVERSIONNET-8378 Improvement Add Publisher to Page Description Language conversion
CONVERSIONNET-8379 Improvement Add Publisher to EBook conversion
CONVERSIONNET-8380 Improvement Add Publisher to Spreadsheet conversion
CONVERSIONNET-8359 Bug Optimize PDF to JPG conversion time
CONVERSIONNET-8360 Bug EML to PDF: Table content goes out of page

Public API changes

1. New PageLayoutOptions.ScaleToPageWidth value for EmailLoadOptions.PageLayoutOptions

What changed
Starting with GroupDocs.Conversion for .NET v26.7, the PageLayoutOptions property of EmailLoadOptions supports the enum value ScaleToPageWidth. When this option is set, the converter automatically scales the email content so that wide elements (e.g., wide tables) fit the page width instead of being clipped at the right edge.

Impact

  • No breaking change; existing code that does not set PageLayoutOptions continues to behave as before.
  • To take advantage of the new scaling behavior, assign PageLayoutOptions.ScaleToPageWidth in your EmailLoadOptions.

Migration example

string fileName = "input.eml";
string outputFileName = $"{fileName}.pdf";

EmailLoadOptions loadOptions = new EmailLoadOptions
{
    ConvertOwned = false,
    DisplayBccEmailAddress = true,
    DisplayCcEmailAddress = true,
    PreserveOriginalDate = true,
    TimeZoneOffset = TimeSpan.FromHours(1),
    DisplayAttachments = true,

    // New in 26.7 – scales wide content to fit the page width.
    PageLayoutOptions = PageLayoutOptions.ScaleToPageWidth,
};

using (Converter converter = new Converter(fileName, _ => loadOptions))
{
    PdfConvertOptions convertOptions = new PdfConvertOptions();
    converter.Convert(outputFileName, convertOptions);
}

Note
There are no backward‑incompatible changes in this release. Existing implementations remain functional without modification.

New features

  • Publisher as a source format: Enables conversion from Microsoft Publisher files to spreadsheets, e‑books, presentations, images, web pages, and Word documents, dramatically expanding the range of source documents you can process.
  • Windows-specific .NET target frameworks: Adds net6.0-windows, net8.0-windows, and net10.0-windows builds with corresponding runtime packages, delivering optimal performance on Windows (including ARM64) while retaining cross‑platform compatibility.
  • Automatic dependency resolution on .NET Framework: The library now loads its own dependency assemblies from its folder, removing the need for binding redirects and simplifying deployment in COM, unmanaged hosts, or legacy applications.
  • PDF‑to‑JPG conversion speedup: Optimized processing reduces conversion time for large PDFs, providing faster image extraction.
  • EML‑to‑PDF layout fix: Table content is now correctly paginated within the PDF, preventing overflow and preserving document integrity.

Code example

string fileName = "input.eml";
string outputFileName = $"{fileName}.pdf";

EmailLoadOptions loadOptions = new EmailLoadOptions
{
    ConvertOwned = false,
    DisplayBccEmailAddress = true,
    DisplayCcEmailAddress = true,
    PreserveOriginalDate = true,
    TimeZoneOffset = TimeSpan.FromHours(1),
    DisplayAttachments = true,

    // New in 26.7 – scales wide content to fit the page width.
    PageLayoutOptions = PageLayoutOptions.ScaleToPageWidth,
};

using (Converter converter = new Converter(fileName, _ => loadOptions))
{
    PdfConvertOptions convertOptions = new PdfConvertOptions();
    converter.Convert(outputFileName, convertOptions);
}

How to get the update

NuGet

Upgrade to the latest GroupDocs.Conversion package via NuGet.

Direct download

No direct download links are provided in the release notes.

Resources