FlexReport for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document Namespace / Utils Class / DeflateHalfLine Method

In This Topic
    DeflateHalfLine Method (Utils)
    In This Topic
    Substracts half of left, top etc from the appropriate edge of the rect.
    Syntax
    'Declaration
     
    Public Shared Function DeflateHalfLine( _
       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 DeflateHalfLine( 
       Rect rect,
       double left,
       double top,
       double right,
       double bottom
    )

    Parameters

    rect
    left
    top
    right
    bottom
    See Also