[]
        
(Showing Draft Content)

C1.Framework.ParagraphElement.BreakBefore

BreakBefore Method

BreakBefore(Element, int, int)

Gets a value that determines whether a line break should be inserted before a given element.

Declaration
protected virtual bool BreakBefore(Element e, int lineEnd, int width)
Parameters
Type Name Description
Element e

Element to test for a line break.

int lineEnd

Position of the line end if no breaks are added.

int width

Width available for rendering the paragraph.

Returns
Type Description
bool

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