Visual Basic (Declaration) | |
---|---|
Public Sub SetRowPageBreak( _ ByVal row As Integer, _ ByVal value As Boolean _ ) |
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
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() |
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
Reference
SheetView ClassSheetView Members
GetRowPageBreak Method