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

In This Topic
    Inflate(Rect,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 dx As Double, _
       ByVal dy As Double _
    ) 
    public static void Inflate( 
       ref Rect r,
       double dx,
       double dy
    )

    Parameters

    r
    System.Windows.Rect structure.
    dx
    The amount to inflate this System.Windows.Rect horizontally.
    dy
    The amount to inflate this System.Windows.Rect vertically.
    See Also