Method DrawLine
- Namespace
- Alternet.Editor.CodeCompletion
- Assembly
- Alternet.Editor.v10.dll
DrawLine(int, Point, Rectangle)
Draws specific line in of the hint control to the graphic surface.
public virtual void DrawLine(int index, Point position, Rectangle clipRect)
Parameters
indexintSpecifies index of line to draw.
positionPointThe Point value that specifies start position to draw.
clipRectRectangleRectangular area of hint control to draw in.
DrawLine(int, string, StringItemInfo[], Point, Rectangle)
Draws line given by its index at the specified position.
public virtual 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.