Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRectangleF Structure / FromTwoPoints Method / FromTwoPoints(NPointF,NPointF) Method


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