Nevron .NET Vision
Nevron.UI Namespace / NLayoutHelper Class / CenterRect Method / CenterRect(NRectangle,NSize) Method


In This Topic
    CenterRect(NRectangle,NSize) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CenterRect( _
       ByVal bounds As NRectangle, _
       ByVal size As NSize _
    ) As NRectangle
    'Usage
     
    
    Dim bounds As NRectangle
    Dim size As NSize
    Dim value As NRectangle
     
    value = NLayoutHelper.CenterRect(bounds, size)
    public static NRectangle CenterRect( 
       NRectangle bounds,
       NSize size
    )

    Parameters

    bounds
    size
    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