Posted by a ceTe Software moderator
Hello,
You can add the line breaks using the "\n" escape sequence. Following is the sample code snippet:
C# Code:
string text = "Hello\nWorld";
Label label = new Label( text, 0, 0, 504, 100, Font.Helvetica, 18, TextAlign.Center );
VB.Net Code:
Dim Text As String = "Hello" & vbCrLf & "World"
Dim MyLabel As Label = New Label(Text, 0, 0, 504, 100, Font.Helvetica, 18, TextAlign.Center)
Thanks,
ceTe Software Support Team