ComponentOne Basic Library for WPF and Silverlight
Inflate(Rect,Double,Double) Method


C1.Silverlight 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.
Enlarges a System.Windows.Rect structure by the specified amount.
Syntax
'Declaration
 
Public Overloads Shared Sub Inflate( _
   ByRef r As System.Windows.Rect, _
   ByVal dx As System.Double, _
   ByVal dy As System.Double _
) 
'Usage
 
Dim r As System.Windows.Rect
Dim dx As System.Double
Dim dy As System.Double
 
Extensions.Inflate(r, dx, dy)
public static void Inflate( 
   ref System.Windows.Rect r,
   System.double dx,
   System.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

Reference

Extensions Class
Extensions Members
Overload List