The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hello, I have some docx files that contains an embedded excel spreadsheet, when I try to convert the document to pdf the generated pdf is not rendering the table, I have attached
screenshots of the generated and the original, is there a way to fix this?
SBSneha Biju Syncfusion Team December 7, 2023 07:25 AM UTC
Hi George,
From the given details, we found that the Excel is embedded into the
Word document as an OLE object. In an OLE object, the preview image will be in
a metafile format. We suspect that you are converting Word to PDF using .NET
Core application. In .NET Core or .NET targeting applications, metafile
(.wmf, *.emf) and TIFF images have some limitations in DocIORenderer.
Internally, DocIORenderer uses the SkiaSharp graphics library to layout the
text and images in PDF/Image conversion. And SkiaSharp library doesn’t support
the metafile (“.emf”, “*.wmf”) and TIFF images, so it doesn’t preserve the
images in the mentioned applications.
You can also refer to the UG documentation to know about this. https://help.syncfusion.com/file-formats/docio/faq#why-images-are-preserved-as-redx-images-in-word-to-pdfimage-conversion
If you are using the .NET Framework, we suggest using the respective NuGet
packages as we support metafile images (in DocToPDFConverter)during
Word to PDF conversion in the .NET Framework.