Document Library for WPF | ComponentOne
C1.WPF.Document.4.5.2 Assembly / C1.WPF.Document Namespace / Utils Class / InflateHalfLine Method

In This Topic
    InflateHalfLine Method
    In This Topic
    Adds half of left, top etc to the appropriate edge of the rect.
    Syntax
    'Declaration
     
    Public Shared Function InflateHalfLine( _
       ByVal rect As Rect, _
       ByVal left As Double, _
       ByVal top As Double, _
       ByVal right As Double, _
       ByVal bottom As Double _
    ) As Rect
    public static Rect InflateHalfLine( 
       Rect rect,
       double left,
       double top,
       double right,
       double bottom
    )

    Parameters

    rect
    left
    top
    right
    bottom
    See Also