GroupDocs.Conversion for .NET v26.7 artık kullanılabilir. Bu sürüm, birden çok dönüşüm hedefi için Publisher’ı kaynak format olarak ekliyor, Windows‑özel .NET hedef çerçevelerini tanıtıyor, .NET Framework üzerinde otomatik bağımlılık çözümlemesini iyileştiriyor ve PDF‑to‑JPG ile EML‑to‑PDF dönüşümleri için performans ve düzen iyileştirmeleri içeriyor.
What’s new in this release
| Anahtar | Kategori | Özet |
|---|---|---|
| CONVERSIONNET-8406 | Feature | net*-windows hedef çerçevelerini ve Windows çalışma zamanı nuget paketlerini ekle |
| CONVERSIONNET-8371 | Improvement | Publisher’ı WordProcessing dönüşümüne ekle |
| CONVERSIONNET-8373 | Improvement | Publisher’ı Web dönüşümüne ekle |
| CONVERSIONNET-8375 | Improvement | Publisher’ı Image dönüşümüne ekle |
| CONVERSIONNET-8376 | Improvement | .NET Framework’te (bağlama yönlendirmeleri gerekmez) kütüphane klasöründen bağımlılık derlemelerini otomatik çöz |
| CONVERSIONNET-8377 | Improvement | Publisher’ı Presentation dönüşümüne ekle |
| CONVERSIONNET-8378 | Improvement | Publisher’ı Page Description Language dönüşümüne ekle |
| CONVERSIONNET-8379 | Improvement | Publisher’ı EBook dönüşümüne ekle |
| CONVERSIONNET-8380 | Improvement | Publisher’ı Spreadsheet dönüşümüne ekle |
| CONVERSIONNET-8359 | Bug | PDF‑to‑JPG dönüşüm süresini optimize et |
| CONVERSIONNET-8360 | Bug | EML‑to‑PDF: Tablo içeriği sayfadan dışarı taşınıyor |
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
PageLayoutOptionscontinues to behave as before. - To take advantage of the new scaling behavior, assign
PageLayoutOptions.ScaleToPageWidthin yourEmailLoadOptions.
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, andnet10.0-windowsbuilds 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.