Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRectangle Structure / FromTwoPoints Method / FromTwoPoints(Double,Double,Double,Double) Method


In This Topic
    FromTwoPoints(Double,Double,Double,Double) Method
    In This Topic
    Gets a normalized rectangle from two points
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromTwoPoints( _
       ByVal x1 As System.Double, _
       ByVal y1 As System.Double, _
       ByVal x2 As System.Double, _
       ByVal y2 As System.Double _
    ) As NRectangle
    'Usage
     
    
    Dim x1 As System.Double
    Dim y1 As System.Double
    Dim x2 As System.Double
    Dim y2 As System.Double
    Dim value As NRectangle
     
    value = NRectangle.FromTwoPoints(x1, y1, x2, y2)
    public static NRectangle FromTwoPoints( 
       System.double x1,
       System.double y1,
       System.double x2,
       System.double y2
    )

    Parameters

    x1
    y1
    x2
    y2
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also