MobileForms Toolkit Documentation

Utility.WrapText Method 

Wraps text to make it fit into given width.

public static WrapTextData WrapText(
Graphics gr,
string text,
Font font,
int width,
bool rtl
);

Parameters

gr
Graphics to draw on.
text
Text to split.
font
Font to use.
width
Maximum width the text must fit into.
rtl

Return Value

WrapTextData describing wrapped text.

Remarks

Uses cache of wrapped lines to speed up the process.

See Also

Utility Class | Resco.Controls.AdvancedComboBox Namespace