AllowPageBreak Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value specifying how the table row is formatted at page breaks. The property value is True, if the table row can be formatted across page breaks. The property value is False, if the table row must not be formatted across page breaks.
Syntax
public bool AllowPageBreak { get; set; }Public Property AllowPageBreak As BooleanExamples
The following example creates a small report table and works with its structure by using TableRow.AllowPageBreak.
textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableRow tableRow = table.Rows[1];
tableRow.AllowPageBreak = false;
tableRow.Select();textControl.Tables.Add(3, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
Dim tableRow As TableRow = table.Rows(1)
tableRow.AllowPageBreak = False
tableRow.Select()