MobileForms Toolkit Documentation

LinkCell.DrawTextLine Method 

Draws line of the text on given graphics plane.

protected override void DrawTextLine(
Graphics gr,
string line,
Font font,
Brush brush,
int x,
int y,
int width,
int height,
int textIndex
);

Parameters

gr
Graphics to draw on.
line
Text of the line.
font
Font to use.
brush
Brush to use.
x
Left coordinate of line bounding rectangle.
y
Top coordinate of line bounding rectangle.
width
Width of line bounding rectangle.
height
Height coordinate of line bounding rectangle.
textIndex
Index of the original text where line starts.

Remarks

This method is called for each line calculated in DrawAlignedText.

See Also

LinkCell Class | Resco.Controls.AdvancedList Namespace