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

Glossary Item Box

PrintNextPageBreakRow Property


See Also    DLL

Applies To

fpSpread control

Description

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

Syntax

C++

long CSpreadSheet::GetPrintNextPageBreakRow( );

Visual Basic

[form.]fpSpread.PrintNextPageBreakRow

Remarks

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

To return all the rows at which page breaks occur, loop through the sheet. When the property has reached the last row at which a page break occurs, the next time you request the row 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 PrintNextPageBreakCol property to return the column numbers of columns at which page breaks occur.

Data Type

Long Integer

See Also

Column and Row Settings
Specifying Print Page Breaks

ColPageBreak, RowPageBreak, PrintNextPageBreakCol, Sheet properties

DLL Correspondence

SSGetNextPageBreakRow function

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