Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRectangle Structure / Union Method / Union(NRectangle,NPoint) Method
rectangle
point


In This Topic
    Union(NRectangle,NPoint) Method
    In This Topic
    Calculates the union of a point and a rectangle.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Union( _
       ByVal a As NRectangle, _
       ByVal b As NPoint _
    ) As NRectangle
    'Usage
     
    
    Dim a As NRectangle
    Dim b As NPoint
    Dim value As NRectangle
     
    value = NRectangle.Union(a, b)
    public static NRectangle Union( 
       NRectangle a,
       NPoint b
    )

    Parameters

    a
    rectangle
    b
    point

    Return Value

    Returns the minimal rectangle that bounds the point and the rectangle.
    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