How to add a page break to an RTF document generated by code.
Hi
Not sure how you have laid out your code but the solution to adding page breaks is as follows:
MyFile.WriteLine("\pard \insrsid \page \par")
I use this within a data loop that writes so many lines of info , adds a page break, then writes field labels then the next lines of info, and so on until EOF.
|