Spread Windows Forms 6.0 Product Documentation
GetColumnPageBreaks(Int32,Boolean) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > GetColumnPageBreaks Method : GetColumnPageBreaks(Int32,Boolean) Method


sheet
Index of sheet for which to return column page breaks
reCalc
Whether to recalculate the page break

Glossary Item Box

Gets the column page breaks for the specified sheet under the current printing conditions with the option to recalculate.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetColumnPageBreaks( _
   ByVal sheet As Integer, _
   ByVal reCalc As Boolean _
) As Integer()
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim sheet As Integer
Dim reCalc As Boolean
Dim value() As Integer
 
value = instance.GetColumnPageBreaks(sheet, reCalc)
C# 
public int[] GetColumnPageBreaks( 
   int sheet,
   bool reCalc
)

Parameters

sheet
Index of sheet for which to return column page breaks
reCalc
Whether to recalculate the page break

Return Value

Integer array containing the indexes of columns for which page breaks occur

Remarks

The reCalc parameter is for optimization; if the GetRowPageBreaks method is called before this method, set this parameter to false.

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.