Answer the question
In order to leave comments, you need to log in
How to remove Bold and similar properties in openXML?
Please tell me how you can remove bold in openxml, sometimes in the text there is bold with the val=false property, in fact I want to remove it for this purpose, I use runbody.RunProperties.ChildElements.FirstOrDefault(x => runbody.RunProperties.bold != null && x.GetType() == runbody.RunProperties.bold)?.Remove(); , but without success because an ObjectDisposedException appears
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question