C# Remove a Page Break in MS Word

I am working with MS Word Interop.  I converted a document from Crystal to MS Word in RTF Format and a page break is in the document.  I need to delete the page break.

Any ideas?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I can think of 3 ways to maybe do that.

1.  Set the paper size so it is tall enough to handle the report on a single page.  Try legal and ledger.  You may have to create a custom paper size.

2. Install a new printer driver that handles larger pages.  You can even use a plotter which can handle some very large pages.  May have to set width margin (right and left) in the report to limit the width.

3.  Set the No Printer option in the page setup.  Also set the option to DISSOCIATE PAGE SIZE FROM PRINTER

CipherISAuthor Commented:
I need to delete programmatically unfortunately.
CipherISAuthor Commented:
I wrote code in C# to look for "^m" to delete the page break.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CipherISAuthor Commented:
Wrote the code and posted the solution.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.