ComponentOne Document Library for WPF
InflateHalfLine Method

C1.WPF.Document.4 Assembly > C1.WPF.Document Namespace > Utils Class : InflateHalfLine Method
Adds half of left, top etc to the appropriate edge of the rect.
Syntax
'Declaration
 
Public Shared Function InflateHalfLine( _
   ByVal rect As System.Windows.Rect, _
   ByVal left As System.Double, _
   ByVal top As System.Double, _
   ByVal right As System.Double, _
   ByVal bottom As System.Double _
) As System.Windows.Rect
public static System.Windows.Rect InflateHalfLine( 
   System.Windows.Rect rect,
   System.double left,
   System.double top,
   System.double right,
   System.double bottom
)

Parameters

rect
left
top
right
bottom
See Also

Reference

Utils Class
Utils Members