rtf files and pagebreaks
-
Hello all!! What I want to do is to create rtf files with c# and then read them page by page(for example every page can contain 50 lines). Can anyone advise me on how to do this? I think there should be a way of inserting pagebreaks but not shure. Is this the right way? If it is I don't have an idea of how to read the pagebreak... Thank you!!
-
Hello all!! What I want to do is to create rtf files with c# and then read them page by page(for example every page can contain 50 lines). Can anyone advise me on how to do this? I think there should be a way of inserting pagebreaks but not shure. Is this the right way? If it is I don't have an idea of how to read the pagebreak... Thank you!!
2 options: 1) Find an RTF library. There's one on codeproject here. There are stacks of commercial ones if you just google around. http://www.codeproject.com/KB/string/nrtftree.aspx[^] 2) Read the RTF[^] spec, and write your own parser.
Simon
-
Hello all!! What I want to do is to create rtf files with c# and then read them page by page(for example every page can contain 50 lines). Can anyone advise me on how to do this? I think there should be a way of inserting pagebreaks but not shure. Is this the right way? If it is I don't have an idea of how to read the pagebreak... Thank you!!
The rtf code is
\page
-
2 options: 1) Find an RTF library. There's one on codeproject here. There are stacks of commercial ones if you just google around. http://www.codeproject.com/KB/string/nrtftree.aspx[^] 2) Read the RTF[^] spec, and write your own parser.
Simon
I'm not shure if I am able of writting down my own parser. Also I tryied out the library you suggested, but could not use it. I imported the dll file and still din't manage it. I'm new in programming and have not enough experience. Could you please help me out here??