Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRectangle Structure / FromTwoPoints Method / FromTwoPoints(NPoint,NPoint) Method


In This Topic
    FromTwoPoints(NPoint,NPoint) Method
    In This Topic
    Gets a normalized rectangle from two points
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromTwoPoints( _
       ByVal point1 As NPoint, _
       ByVal point2 As NPoint _
    ) As NRectangle
    'Usage
     
    
    Dim point1 As NPoint
    Dim point2 As NPoint
    Dim value As NRectangle
     
    value = NRectangle.FromTwoPoints(point1, point2)
    public static NRectangle 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