ExcelPageBreaksCollectionAddPageBreak Method
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.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
public ExcelPageBreak AddPageBreak(
ExcelRange locationRange
)
Public Function AddPageBreak (
locationRange As ExcelRange
) As ExcelPageBreak
public:
ExcelPageBreak^ AddPageBreak(
ExcelRange^ locationRange
)
member AddPageBreak :
locationRange : ExcelRange -> ExcelPageBreak
- locationRange ExcelRange
- The page break location.
ExcelPageBreakThe newly added page break.