InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Framework Namespace / ParagraphElement Class / BreakBefore Method
Element to test for a line break.
Position of the line end if no breaks are added.
Width available for rendering the paragraph.

In This Topic
    BreakBefore Method (ParagraphElement)
    In This Topic
    Gets a value that determines whether a line break should be inserted before a given element.
    Syntax
    'Declaration
     
    Protected Overridable Function BreakBefore( _
       ByVal e As Element, _
       ByVal lineEnd As Integer, _
       ByVal width As Integer _
    ) As Boolean
    protected virtual bool BreakBefore( 
       Element e,
       int lineEnd,
       int width
    )

    Parameters

    e
    Element to test for a line break.
    lineEnd
    Position of the line end if no breaks are added.
    width
    Width available for rendering the paragraph.

    Return Value

    True if a line break should be inserted before the given element.
    See Also