Nevron.GraphicsCore Namespace / NGeometry2D Class / ClampSizeToRect Method


In This Topic
    ClampSizeToRect Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function ClampSizeToRect( _
       ByVal size As System.Single, _
       ByVal rect As NRectangleF _
    ) As System.Single
    'Usage
     
    
    Dim size As System.Single
    Dim rect As NRectangleF
    Dim value As System.Single
     
    value = NGeometry2D.ClampSizeToRect(size, rect)
    public static System.float ClampSizeToRect( 
       System.float size,
       NRectangleF rect
    )

    Parameters

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