Calculates the slope of a line given two known points.
'Declaration
Public Shared Function Slope( _
ByVal As Point, _
ByVal As Point _
) As Double
Parameters
- point1
- One point on the line.
- point2
- A second point on the line.
Return Value
The slope of the line containing the points point1 and point2.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2