Click here to Skip to main content
15,921,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My project is working bad for the print option.
in this i first export the contents to .doc file.
I use the richtextbox & formating is done by inserting table in richtextbox with rtf.
in doc file the border is not shown.
but in my print option the border is shown.
what actually happens while print . is i am not understood.
plz help
Posted

Hope this[^] might help you.
 
Share this answer
 
This is because most RTF Editors handle content differently, based funtionality of the editors. There is also a lot of information you can find on Internet about RTF Version spesifications.

these may help you understand what exactly happens when you edit or wich to change the content of an RTF file.
Rich Text Format (RTF) Version 1.5 Specification

XML
There is no RTF table group; instead, tables are specified as paragraph properties. A table is represented as a sequence of table rows. A table row is a continuous sequence of paragraphs partitioned into cells. The table row begins with the \trowd control word and ends with the \row control word. Every paragraph that is contained in a table row must have the \intbl control word specified or inherited from the previous paragraph. A cell may have more than one paragraph in it; the cell is terminated by a cell mark (the \cell control word), and the row is terminated by a row mark (the \row control word). Table rows can also be positioned. In this case, every paragraph in a table row must have the same positioning controls (see the <apoctl> controls on page 29 of this Application Note). Table properties may be inherited from the previous row; therefore, a series of table rows may be introduced by a single <tbldef>.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900