Begins a new line in inline flow, can be used only if current stacking is inline flow. Note that AllowNonReflowableDocs property on the document must be set to true for this method to work; otherwise, an exception will occur.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public void NewLine()
Visual Basic
Public Sub NewLine

Examples

The following code uses the NewLine()()()() method to to begin a new line in inline flow:

Copy CodeVisual Basic
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    MakeDoc1(C1PrintDocument1)
    C1PrintDocument1.Generate()
    C1PrintDocument1.NewLine()
End Sub
Copy CodeC#
private void Form1_Load(object sender, EventArgs e)
{
    MakeDoc1(c1PrintDocument1);
    c1PrintDocument1.Generate();
    c1PrintDocument1.NewLine();
}

See Also