XlsVPageBreaksCollection
Add Method (IXLSRange)
 | 
Adds a vertical page break. Returns a VPageBreak object.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
 
protected IVPageBreak Add(
	IXLSRange location
)
 
Protected Function Add ( 
	location As IXLSRange
) As IVPageBreak
 
protected:
IVPageBreak^ Add(
	IXLSRange^ location
)
 
member Add : 
location : IXLSRange -> IVPageBreak 
 
 
 
Parameters
- 
location
 
- 
Type:
Spire.Xls.Core
IXLSRange
Page break location.
 
Return Value
Type:
IVPageBreak
Newly added page break.
 
Exceptions
 
| 
Exception
 | 
Condition
 | 
| 
ArgumentException
 | 
When specified object cannot be found in the collection.
 | 
 
 
See Also