See Also

IHPageBreaks Interface  | IHPageBreaks Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

before
The range before which to add the horizontal page break.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

Add Method

SpreadsheetGear Namespace > IHPageBreaks Interface : Add Method (IHPageBreaks)

Adds a new horizontal page break to a worksheet and returns a reference to it.

[Visual Basic]
Overridable Function Add( _    ByVal before As IRange _ ) As IHPageBreak
[C#]
virtual IHPageBreak Add(    IRange before );
[C++]
virtual IHPageBreak* Add(    IRange* before )
[C++/CLI]
virtual IHPageBreak^ Add(    IRange^ before )

Parameters

before
The range before which to add the horizontal page break.

Return Type

The horizontal page break.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IHPageBreaks Interface  | IHPageBreaks Members

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.