Click or drag to resize

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
)

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