XlsHPageBreaksCollection
Add Method (IXLSRange)
 | 
Adds a horizontal page break. Returns an HPageBreak object. Read-only.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
 
protected IHPageBreak Add(
	IXLSRange location
)
 
Protected Function Add ( 
	location As IXLSRange
) As IHPageBreak
 
protected:
IHPageBreak^ Add(
	IXLSRange^ location
)
 
member Add : 
location : IXLSRange -> IHPageBreak 
 
 
 
Parameters
- 
location
 
- 
Type:
Spire.Xls.Core
IXLSRange
Object after which new page break must be inserted.
 
Return Value
Type:
IHPageBreak
HPageBreak which was added.
 
Exceptions
 
| 
Exception
 | 
Condition
 | 
| 
ArgumentException
 | 
If specified object couldn't be found in the collection.
 | 
 
 
See Also