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


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

Reference

Extensions Class
Extensions Members
Overload List