The DLLs-only package of GroupDocs.Conversion for .NET 24.5 allows developers to experience seamless integration and equips them with several new features, enhancements, and bug fixes to elevate their app development workflows on any platform.
Power Up Embedded Document Conversion in .NET
Enrich your cross-platform applications with the ability to accurately convert embedded documents within WordProcessing, Presentation, and Spreadsheet formats. The following coding sample showcases how to convert a Word (DOCX) document to PDF format with the newly added ConvertOwner, ConvertOwned, and Depth properties of the WordProcessingLoadOptions
class.
const string source = "sample-ole.docx";
using (var converter = new Converter(source, () => new WordProcessingLoadOptions
{
ConvertOwner = true,
ConvertOwned = true,
Depth = 1
}))
{
var convertOptions = new PdfConvertOptions();
converter.Convert("converted.pdf", convertOptions);
}
Source*
Work with Hyphenation for WordProcessing Conversions
You can ensure smooth hyphenation for a professional look while converting MS Word documents with the newest C# document conversion API release. Please check out the following code sample to learn about the feature usage.
const string source = "sample.docx";
using (var converter = new Converter(source, () => new WordProcessingLoadOptions
{
HyphenationOptions =
{
AutoHyphenation = true
}
}))
{
var convertOptions = new PdfConvertOptions();
converter.Convert("converted.pdf", convertOptions);
}
Source*
EML to PDF Conversions in C# Apps
GroupDocs.Conversion for .NET 24.5 offers better handling of attachment information when converting EML to PDF on Windows, Linux, or Mac. This C# code sample shows how to convert EML to PDF and manipulate various attachment options.
const string source = "sample-with-attachment.eml";
using (var converter = new Converter(source, (fileType) => new EmailLoadOptions
{
ConvertOwned = false,
DisplayAttachments = false,
DisplaySent = false,
DisplaySubject = false
}))
{
var options = new PdfConvertOptions();
converter.Convert((FileType fileType) => new FileStream($"converted.pdf", FileMode.Create), options);
}
Source*
Beefed Up PDF Security
Experience a PDF security boost by removing all JavaScript actions from within the original PDF document in your platform-independent C# and VB.NET solutions.
The latest GroupDocs.Conversion for .NET release delivers better control of font embedding functionality when converting documents to web-friendly file formats. This C# code sample demonstrates converting DOCX to HTML with embedded font resources enabled.
const string source = "sample.docx";
using (var converter = new Converter(source))
{
var convertOptions = new WebConvertOptions
{
FixedLayout = false,
EmbedFontResources = true
};
converter.Convert("converted.html", convertOptions);
}
Source*
Fixed Bugs
- Fixed an issue resulting in empty results during MSG to PDF conversions with custom width and height.
- Ensured proper table width reflection in output RTF files when specified as a ratio.
- Resolved text spacing issues occurring during PowerPoint to PDF/A-2u conversions.
- Addressed a bug causing blank output PDFs when setting specific PDF options.
- Ensured proper PageOrientation handling during document conversions.
- Addressed margin problems encountered while converting emails to PDF.
- Addressed border rendering issues around tables during conversions.
- Preserved tracked changes during DOCX to PDF conversions.
- Resolved text disappearance during DOCX to RTF conversions.
- Fixed blank output issues during DWG to PDF conversions.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting GroupDocs.Conversion for .NET 24.5 Release Notes.