In this blog you will see how to apply single strikethrough for the contents inside the run using Open XML SDK 2.0.

Assembly:
DocumentFormat.OpenXml.dll
Namesapces:
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing; <?xml version="1.0" encoding="utf-8"?> <w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"> <w:body> <w:p> <w:r> <w:rPr> <w:strike w:val="true" /> </w:rPr> <w:t>Welcome!!!!!</w:t> </w:r> </w:p> </w:body> </w:document>
Code:
XML:
Output:

Join the conversation! Your thoughts help the community grow.