what is the most simple and elegant way how convert flowdocument to simple text?
Asked
Active
Viewed 7,062 times
1 Answers
33
How about this?
string text = new TextRange(FlowDoc.ContentStart, FlowDoc.ContentEnd).Text;

H.B.
- 166,899
- 29
- 327
- 400