Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRange2D Structure / FromTwoPoints Method


In This Topic
    FromTwoPoints Method (NRange2D)
    In This Topic
    Creates a normalized 2D range from two points.
    Syntax
    'Declaration
     
    
    Public Shared Function FromTwoPoints( _
       ByVal point1 As NPoint, _
       ByVal point2 As NPoint _
    ) As NRange2D
    'Usage
     
    
    Dim point1 As NPoint
    Dim point2 As NPoint
    Dim value As NRange2D
     
    value = NRange2D.FromTwoPoints(point1, point2)
    public static NRange2D FromTwoPoints( 
       NPoint point1,
       NPoint point2
    )

    Parameters

    point1
    point2
    Requirements

    Target Platforms: Windows 7, 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

    See Also