Method WrapTextToMultipleLines
WrapTextToMultipleLines(string, float, Font, Graphics)
Performs word wrapping of the text.
public static string WrapTextToMultipleLines(string text, float maxWidth, Font font, Graphics canvas)
Parameters
textstringText to wrap.
maxWidthfloatWidth of the text in device-independent units.
fontFontText font.
canvasGraphicsDrawing context.