Sets whether a forced page break is inserted before the specified row on this sheet when printing.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim row As Integer
Dim value As Boolean
instance.SetRowPageBreak(row, value) |
Parameters
- row
- Row index
- value
- Whether to force a page break before the specified row
Example
This example illustrates the use of this member by returning whether a page break is inserted before the specified row when printing.
C# | Copy Code |
---|
bool b;
fpSpread1.ActiveSheet.SetRowPageBreak(0, true);
b = fpSpread1.ActiveSheet.GetRowPageBreak(0);
label1.Text = "Is there a page break set for row 0 = " + b.ToString(); |
Visual Basic | Copy Code |
---|
Dim b As Boolean
FpSpread1.ActiveSheet.SetRowPageBreak(0, True)
b = FpSpread1.ActiveSheet.GetRowPageBreak(0)
Label1.Text = "Is there a page break set for row 0 = " & b.ToString() |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also