XL.Sheet.GetHorPageBreak
------------------------

Returns row with horizontal page break at position index.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Sheet.GetHorPageBreak"; BookRef; SheetIndex; Index ) 

**MBS**( **"XL.Sheet.GetHorPageBreak";** /\* Returns row with horizontal page break at position index. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**; /\* The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/   
**$Index**) /\* The index of the page break from 0 to [XL.Sheet.GetHorPageBreakCount](XLSheetGetHorPageBreakCount.md)-1.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |
| Index | The index of the page break from 0 to [XL.Sheet.GetHorPageBreakCount](XLSheetGetHorPageBreakCount.md)-1. | 0 |

### Result

Returns value or error.

### Description

Returns row with horizontal page break at position index.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.GetHorPageBreakCount](XLSheetGetHorPageBreakCount.md)
- [XL.Sheet.GetVerPageBreak](XLSheetGetVerPageBreak.md)
- [XL.Sheet.GetVerPageBreakCount](XLSheetGetVerPageBreakCount.md)
- [XL.Sheet.SetHorPageBreak](XLSheetSetHorPageBreak.md)
- [XL.Sheet.SetVerPageBreak](XLSheetSetVerPageBreak.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[XL.Sheet.GetHidden](XLSheetGetHidden.md) - [XL.Sheet.GetHorPageBreakCount](XLSheetGetHorPageBreakCount.md)

[HTML Version](XLSheetGetHorPageBreak.shtml)