iebidan Posted March 28, 2003 Posted March 28, 2003 I'm using the PrintDocument Class to print some text using the Drawstring, but when the line is too long it doesn't go to the next line, how can I make it print in the correct, like a wrap to the text so it prints correctly??????? Quote Fat kids are harder to kidnap
*Gurus* divil Posted March 29, 2003 *Gurus* Posted March 29, 2003 You can specify a bounding rectangle when you call DrawString, the text should wrap inside that. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
rickarde Posted November 18, 2004 Posted November 18, 2004 But if you don't want the text wrapped to next line? I want the part of the text that don't fit in the rectangle/cell (in datagrid) to vanish... Then I can show the full text at OnMouseOver event! /Rickard Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.