[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Tools.Kinsoku.GetLineBreak

GetLineBreak Method

GetLineBreak(string, int, bool, bool, bool)

Find latest possible line break position before 'lineBreakPos'.

Declaration
public static int GetLineBreak(string text, int lineBreakPos, bool useKinsoku, bool breakNotJapan, bool firstInLine = true)
Parameters
Type Name Description
string text

Source text.

int lineBreakPos

Desired line break position.

bool useKinsoku

If False, kinsoku rules will be ignored.

bool breakNotJapan

If True, non-japanese words can be splitted.

bool firstInLine

The source text locates at the start of the line.

Returns
Type Description
int

Line break position.