Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / Extensions Class / Inflate Method / Inflate(Rect,Double,Double,Double,Double) Method
System.Windows.Rect structure.
The amount to inflate this System.Windows.Rect from left.
The amount to inflate this System.Windows.Rect from top.
The amount to inflate this System.Windows.Rect from right.
The amount to inflate this System.Windows.Rect from bottom.

In This Topic
    Inflate(Rect,Double,Double,Double,Double) Method
    In This Topic
    Enlarges a System.Windows.Rect structure by the specified amount.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Inflate( _
       ByRef r As Rect, _
       ByVal left As Double, _
       ByVal top As Double, _
       ByVal right As Double, _
       ByVal bottom As Double _
    ) 
    public static void Inflate( 
       ref Rect r,
       double left,
       double top,
       double right,
       double bottom
    )

    Parameters

    r
    System.Windows.Rect structure.
    left
    The amount to inflate this System.Windows.Rect from left.
    top
    The amount to inflate this System.Windows.Rect from top.
    right
    The amount to inflate this System.Windows.Rect from right.
    bottom
    The amount to inflate this System.Windows.Rect from bottom.
    See Also