FlexReport for WinForms | ComponentOne
C1.Win.Document.6 Assembly / C1.Win.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 C1.Win.Interop.Rect, _
       ByVal left As Double, _
       ByVal top As Double, _
       ByVal right As Double, _
       ByVal bottom As Double _
    ) As C1.Win.Interop.Rect
    public static C1.Win.Interop.Rect DeflateHalfLine( 
       C1.Win.Interop.Rect rect,
       double left,
       double top,
       double right,
       double bottom
    )

    Parameters

    rect
    left
    top
    right
    bottom
    See Also