Add paragraph of text below searched header text

Hi,
I need to add a paragraph of text after a searched header text.
It looks like the "Find and Highlight" demo is about the right thing.
I just need help to add a new paragraph there where the run ends I guess...

It would be a document with some paragraph headings.
I would like to search for the paragraph heading, and add some plain text below it.

Any help would be appreciated, thanks.

In the Function IReplacingCallback_Replacing


I do the following:

For Each run As Run In runs

Dim newnode As Node = run.Clone(False)
builder.Writeln(“I would like to write my own paragraph with it’s own styling”)

builder.InsertNode(newnode)
builder.Writeln(“After adding new node”)

Next

Return ReplaceAction.Stop

How do I add a paragraph with my own formatting?

Hi René,

Thanks for your inquiry. I have already answered your query [here](https://forum.aspose.com/t/52407) in this post. Please follow that thread for further proceedings.