Input for WinForms | ComponentOne
C1.Framework.Html Namespace / HtmlDiv 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 (HtmlDiv)
    In This Topic
    Gets a value that determines whether a line break should be inserted before a given element.
    Syntax
    'Declaration
     
    
    Protected Overrides Function BreakBefore( _
       ByVal e As Element, _
       ByVal lineEnd As Integer, _
       ByVal width As Integer _
    ) As Boolean
    protected override 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