Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Sheet.SetHorPageBreak
Sets/removes a horizontal page break.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Sheet.SetHorPageBreak"; bookRef; sheetIndex; Row { ; Pagebreak } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref | |
sheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 | |
Row | The row for the cell. First row has index 0. | $row | |
Pagebreak | Whether to break or not. Default is 1 for a break. | 0 | Optional |
Result
Returns OK or error.
Description
Sets/removes a horizontal page break.See also
- XL.Book.SheetCount
- XL.LoadBook
- XL.Sheet.GetHorPageBreak
- XL.Sheet.GetHorPageBreakCount
- XL.Sheet.GetVerPageBreak
- XL.Sheet.SetVerPageBreak
This function checks for a license.
Created 18th August 2014, last changed 9th July 2015