Method DrawWave
DrawWave(RectD, Color)
Draws waved line in the specified rectangular area.
public virtual void DrawWave(RectD rect, Color color)
Parameters
rect
RectDRectangle that bounds the drawing area for the wave.
color
ColorColor used to draw wave.
Remarks
This line looks like line drawn by Visual Studio in error position under the text. Specify rectangle of the text, line is drawn on the bottom. You can pass the rectangle which is returned by measure text functions.