FpSpread1.Sheets[0].ColumnCount = 10;
FpSpread1.Sheets[0].Cells[0, 0, FpSpread1.Sheets[0].RowCount - 1, FpSpread1.Sheets[0].ColumnCount - 1].Text = "test";
FarPoint.Web.Spread.Row r;
r = FpSpread1.ActiveSheetView.Rows[1];
r.PageBreak = true;
FpSpread1.SavePdfToResponse("testprint.pdf");
FpSpread1.Sheets(0).ColumnCount = 10
FpSpread1.Sheets(0).Cells(0, 0, FpSpread1.Sheets(0).RowCount - 1, FpSpread1.Sheets(0).ColumnCount - 1).Text = "test"
Dim r As FarPoint.Web.Spread.Row
r = FpSpread1.ActiveSheetView.Rows(1)
r.PageBreak = True
FpSpread1.SavePdfToResponse("testprint.pdf")