C1.WPF.Excel Namespace > XLRow Class : PageBreak Property |
'Declaration
Public Property PageBreak As System.Boolean
public System.bool PageBreak {get; set;}
C1.C1Excel.XLSheet sheet = c1XLBook1.Sheets[0]; for (int r = 0; r < sheet.Rows.Count; r++) { sheet.Rows[r].PageBreak = (r > 0 && r % 10 == 0); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2