Use the other overloads of this function in which RectangleF is also
required as a parameter.

This RectangleF will be your desired Layout Rectangle (box) in which text
should be wrapped. In this way if text line gets out the box then DrawString
will automatically break it into 2nd line.

On Sun, Jan 23, 2011 at 10:44 PM, ashvin gargav <[email protected]>wrote:

> Hi,
> I m using vs2010(for Windows Application)
> I am Trying to print some text (Taken from Text box) on paper using
> Graphics class by Graphics.Drawstring  method
> but all the text is comming in single line .
> any one can tell me how to transfer control in next line?
>

Reply via email to