ComponentOne FinancialChart for WPF
C1.WPF 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 _
    ) 
    '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 r,
       double left,
       double top,
       double right,
       double bottom
    )
    public:
    static void Inflate( 
       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