Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.8 Assembly / C1.Win.C1Document 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