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 As Rect, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double _
)
'Usage
Dim r As Rect
Dim left As Double
Dim top As Double
Dim right As Double
Dim bottom As Double
Extensions.Inflate(r, left, top, right, bottom)
public static void Inflate(
ref Rect ,
double ,
double ,
double ,
double
)
public:
static void Inflate(
Rect% ,
double ,
double ,
double ,
double
)
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