I've got a FlowDocument and assigned a name to one paragraph.
I want to edit the content of a paragraph (which is just one ordinary string btw.).
How to do this?
I've got a FlowDocument and assigned a name to one paragraph.
I want to edit the content of a paragraph (which is just one ordinary string btw.).
How to do this?
var paragraph = new Paragraph();
paragraph.Inlines.Add(new Run(yourString));
flowDocument.Blocks.Add(paragraph);
HTH,
Kent