- Home
- Forum
- ASP.NET MVC
- Issue with DOCX to PDF Conversion - WTextBox Not Getting Converted Properly
Issue with DOCX to PDF Conversion - WTextBox Not Getting Converted Properly
We are experiencing an issue with converting DOCX files to PDF using Syncfusion. Specifically, the WTextBox elements in the DOCX are not being converted properly in the output PDF. The content inside the WTextBox is either misplaced or not rendered as expected.
Issue Details:
-
Problem: During DOCX to PDF conversion, WTextBox elements are not handled correctly. The contents inside the WTextBox do not appear in the output PDF or appear in an incorrect position. We have tried adjusting various properties but the issue persists.
-
Question: Is WTextBox fully supported during DOCX to PDF conversion in Syncfusion? If so, are there any specific configurations or workarounds to handle WTextBox properly during conversion?
Steps to Reproduce:
-
Create a DOCX file containing a WTextBox.
-
Convert the DOCX file to PDF using Syncfusion.
-
Observe the issue with the WTextBox in the PDF output (misalignment or missing content).
Expected Outcome:
The WTextBox content should be rendered correctly and placed inline without any floating or layout issues in the output PDF.
Hi Mohammad,
We have tried to reproduce the reported issue “TextBox not preserved
properly while converting DOCX to PDF” by using simple document containing
text box, but it is working properly on our end. Kindly refer to the attached
sample.
If you are still encountering an issue, kindly share the following things: This will help us to replicate the issue and provide solution at the earliest.
1. Input document
2. Output PDF
3. Modify and share the sample as
issue reproducible sample.
4.
Environment details (Operating system, if any cloud or docker means, share
configuration and plan details)
Regards,
Sindhu Ramesh.
@Sindhu Have attached the input file. Could you please verify and let me know
Attachment: UBS_Hedge_Fund_Solutions'_OpDD_Annual_Questionnaire_Axonic_Credit_Opps__SBL_Feb_2025__Answered2_(1)_e687736d.pdf
Sample DOCX file used for conversion
Attachment: UBS_Hedge_Fund_Solutions'_OpDD_Annual_Questionnaire_Axonic_Credit_Opps__SBL_Feb_2025__Answered_(1)_450f3745.docx
Mohammad,
We have already logged the bug report titled "Table inside TextBox is not preserved properly while converting DOCX to PDF”. We will include the fix for this defect in our weekly NuGet release, which is estimated to be available on 20th May 2025.
The status of this bug can be tracked through the below link:
Table inside TextBox is not preserved properly while converting DOCX to PDF in ASP.NET Core | Feedback Portal
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Mohammad,
We regret not including the fix for the issue "Table inside TextBox is not preserved properly while converting DOCX to PDF" as promised in the weekly release published on 20th May 2025. This fix will be included in the next weekly release which will be available on 27th May 2025 without further delay.
We apologize for any inconvenience this may have caused and appreciate your understanding.
Mohammad,
We regret not including the fix for the issue "Table inside TextBox is not preserved properly while converting DOCX to PDF" as promised in the weekly release published on 27th May 2025. We have identified some failures during testing. We will address these issues and include the fix in the next weekly release which will be available on 3rd June 2025 without further delay.
However, custom NuGet was prepared with our fix. Kindly refer to the attachment. We apologize for any inconvenience this may have caused and appreciate your understanding.
Attachment: syncfusion.docio.net.core.29.2.7_(2)_(1)_5693d74e.zip
Mohammad,
As promised earlier, we have included the fix for the reported issue with “Table
inside TextBox is not preserved properly while converting DOCX to PDF” in
our latest weekly NuGet release (v29.2.8).
Root cause of the issue:
TextBox with relative width not handled properly causing an issue
Please use the below link to download our latest weekly NuGet:
Syncfusion.DocIORenderer.Net.Core
The status of this bug can be tracked through the below link:
Table
inside TextBox is not preserved properly while converting DOCX to PDF in
ASP.NET Core | Feedback Portal
Note: We will include this fix in our 2025 Volume 2 main release, which
will be available in the mid of June 2025.
- 7 Replies
- 2 Participants
-
MT Mohammad Taha Yaseen
- Apr 27, 2025 07:31 AM UTC
- Jun 3, 2025 06:59 AM UTC