Spread Windows Forms 6.0 Product Documentation
GetRowPageBreak Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetRowPageBreak Method


row
Row index

Glossary Item Box

Gets whether a forced page break is inserted before the specified row on this sheet when printing.

Syntax

Visual Basic (Declaration) 
Public Function GetRowPageBreak( _
   ByVal row As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim value As Boolean
 
value = instance.GetRowPageBreak(row)
C# 
public bool GetRowPageBreak( 
   int row
)

Parameters

row
Row index

Return Value

Boolean: true if there is a forced page break before the specified row; false otherwise

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 BasicCopy 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 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

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.