Spread 8.0 Documentation
PrintNextPageBreakCol Property
Support Options
ActiveX Reference > ActiveX Properties > PrintNextPageBreakCol Property

Glossary Item Box

PrintNextPageBreakCol Property


See Also    DLL

Applies To

fpSpread control

Description

Returns the column number of the next column in the sheet at which a page break occurs. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetPrintNextPageBreakCol( );

Visual Basic

[form.]fpSpread.PrintNextPageBreakCol

Remarks

Page breaks occur within the sheet depending on the print settings you have chosen. You can also specify columns at which page breaks occur using the ColPageBreak property. Use this property to return the column numbers of columns at which page breaks occur in the printed sheet. The column number returned is the first column of the next page.

To return all the columns at which page breaks occur, loop through the sheet. When the property has reached the last column at which a page break occurs, the next time you request the column number the property returns –1.

This property returns page breaks for the current sheet setting unless you first set the Sheet property to specify the sheet for which you are returning the property.

Use the PrintNextPageBreakRow property to return the row numbers of rows at which page breaks occur.

Data Type

Long Integer

See Also

Column and Row Settings
Specifying Print Page Breaks

ColPageBreak, RowPageBreak, PrintNextPageBreakRow, Sheet properties

DLL Correspondence

SSGetNextPageBreakCol function

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