Method DrawLine
DrawLine(int, Point, Rectangle)
When implemented by a class, draws line given by its index at the specified position.
void DrawLine(int index, Point position, Rectangle clipRect)
Parameters
indexintIndex of line to draw.
positionPointPosition to start drawing.
clipRectRectangleRectangular area of the control to draw line in.
DrawLine(int, string, StringItemInfo[], Point, Rectangle)
When implemented by a class, draws line given by its index at the specified position.
void DrawLine(int index, string line, StringItemInfo[] colorData, Point position, Rectangle clipRect)
Parameters
indexintIndex of line to draw.
linestringSpecifies text to draw.
colorDataStringItemInfo[]Specifies array containing color data for given string.
positionPointPosition to start drawing.
clipRectRectangleRectangular area of the control to draw line in.