Winnovative Excel Library

ExcelPageBreaksCollectionAddPageBreak Method

Winnovative Excel Library Documentation
Adds a page break to the specified location in worksheet. For a horizontal page breaks collection the break is inserted in worksheet at the top edge of the range, for a vertical pae breaks collection the break is inserted at the left edge of the range.

Namespace:  Winnovative.ExcelLib
Assembly:  wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public ExcelPageBreak AddPageBreak(
	ExcelRange locationRange
)

Parameters

locationRange
Type: Winnovative.ExcelLibExcelRange
The page break location.

Return Value

Type: ExcelPageBreak
The newly added page break.
See Also

Reference