'宣言 Public Property PageBreak As System.Boolean
public System.bool PageBreak {get; set;}
'宣言 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); }