NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ControlPaint.DrawReversibleLine

Draws a reversible line on the given graphics. A reversible line can be erased by just drawing over it again.

[Visual Basic]
Public Shared Sub DrawReversibleLine( _
   ByVal start As Point, _
   ByVal end As Point, _
   ByVal backColor As Color _
)
[C#]
public static void DrawReversibleLine(
   Point start,
   Point end,
   Color backColor
);
[C++]
public: static void DrawReversibleLine(
   Point start,
   Point end,
   Color backColor
);
[JScript]
public static function DrawReversibleLine(
   start : Point,
   end : Point,
   backColor : Color
);

Parameters

start
The starting point of the line, in screen coordinates.
end
The ending point of the line, in screen coordinates.
backColor
The color of the background behind the line. This color is used to calculate the color of the line so it will always be visible against the background.

See Also

ControlPaint Class | ControlPaint Members | System.WinForms Namespace