Click here to Skip to main content
15,897,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have this problem. I to want set the width of a RichTextBox control to value of a default printer's paper size.

Thanks for your replies.
Posted
Updated 20-Dec-10 11:31am
v3
Comments
Dr.Walt Fair, PE 20-Dec-10 18:33pm    
Have you looked at the PaperSize class?

1 solution

I think you mean custom paper sizes.

Try these

Adding custom paper sizes to named printers[^]

PaperSize Class[^]
 
Share this answer
 
Comments
Kasson 3-Jan-11 6:30am    
Good call raja. My 5++

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