Strikethrough not appeared after conversion to PDF

1 Answer 7 Views
PdfProcessing
Jimmy
Top achievements
Rank 1
Iron
Veteran
Jimmy asked on 12 Dec 2025, 09:35 AM

Hi

I import a docx document with a strikerhough text in it.

When I then convert it to PDF using PdfFormatProvider export. the strikethrough effect does not appeared, in the the text is shown.

 

                            var docxProvider = new DocxFormatProvider();
                            outputStream.Position = 0;
                            var flowDocument = docxProvider.Import(outputStream);

                            var pdfProvider = new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider();
                            var pdfStream = new MemoryStream();
                            pdfProvider.Export(flowDocument, pdfStream);

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 12 Dec 2025, 02:53 PM

Hello Jimmy,

Thank you for reaching out.

The WordsProcessing library supports export of strikethrough text to PDF since version 2024.3.802 (2024 Q3) - WordsProcessing: Add support for exporting text with strikethrough to PDF. If you are using any older versions, then the missing strikethrough is expected. However, if you are using 2024.3.802 or newer, then there is indeed an issue that needs to be investigated.

With that in mind, in order for me to get a better context and understanding of the scenario you are experiencing, would you be able to confirm the version you are using on you end, and share with me a sample document you are using to reproduce this behavior? This way, I can try to achieve the same results on my end, investigate the issue further, try to identify the cause, and get back to you with details and feedback.

NOTE: Please keep in mind that this is a Q&A Form thread, and anything shared/attached here is publicly visible and available to anyone, so make sure you remove any sensitive data beforehand.

Thank you in advance for your cooperation. I am looking forward to your reply.

Regards,
Yoan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
PdfProcessing
Asked by
Jimmy
Top achievements
Rank 1
Iron
Veteran
Answers by
Yoan
Telerik team
Share this question
or