Method WrapTextLineToList
WrapTextLineToList(string, ref double, Font, Graphics)
Performs word wrapping of the single text line which doesn't contain new line characters.
public static List<string> WrapTextLineToList(string text, ref double maxWidth, Font font, Graphics canvas)
Parameters
text
stringText to wrap.
maxWidth
doubleMax width of the text in device-independent units.
font
FontText font.
canvas
GraphicsGraphics context.