ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Tools Namespace / Kinsoku Class / GetLineBreak(String,Int32,Boolean,Boolean,Boolean) Method
Source text.
Desired line break position.
If False, kinsoku rules will be ignored.
If True, non-japanese words can be splitted.
The source text locates at the start of the line.

In This Topic
    GetLineBreak(String,Int32,Boolean,Boolean,Boolean) Method
    In This Topic
    Find latest possible line break position before 'lineBreakPos'.
    Syntax
    'Declaration
     
    Public Shared Function GetLineBreak( _
       ByVal text As String, _
       ByVal lineBreakPos As Integer, _
       ByVal useKinsoku As Boolean, _
       ByVal breakNotJapan As Boolean, _
       Optional ByVal firstInLine As Boolean _
    ) As Integer
    public static int GetLineBreak( 
       string text,
       int lineBreakPos,
       bool useKinsoku,
       bool breakNotJapan,
       bool firstInLine
    )

    Parameters

    text
    Source text.
    lineBreakPos
    Desired line break position.
    useKinsoku
    If False, kinsoku rules will be ignored.
    breakNotJapan
    If True, non-japanese words can be splitted.
    firstInLine
    The source text locates at the start of the line.

    Return Value

    Line break position.
    See Also