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
index
intIndex of line to draw.
position
PointPosition to start drawing.
clipRect
RectangleRectangular 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
index
intIndex of line to draw.
line
stringSpecifies text to draw.
colorData
StringItemInfo[]Specifies array containing color data for given string.
position
PointPosition to start drawing.
clipRect
RectangleRectangular area of the control to draw line in.