المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how the print functionality in c#.net works



C# Programming
09-05-2009, 11:56 AM
Hi,



i am developing text editor (windows application) by using c#.net.

in my text editor i am providing a rich text box to enter text.

it has multiple rich text boxes to make it act like multiple pages.

after entering text into some number of rich text boxes user can go for print.

printed pages should be in WYSIWYG format.

i am able to send all the text from all the pages to the printer. but my problem is i am unable to achieve WYSIWYG. that is

say for example in the first rich text box of my application have 30 lines then the printer is printing less than 30 lines per a page.

so finally i am trying to develop one application which is almost similar to MS WORD.



so please explain me how can achieve this ??

if you have solution please email me at

anilveeraghattapu@gmail.com



Thanks

Anil Veeraghattapu.