SpreadsheetGear 2023
Add Method (IHPageBreaks)


SpreadsheetGear Namespace > IHPageBreaks Interface : Add Method
The range before which to add the horizontal page break.
Adds a new horizontal page break to a worksheet and returns a reference to it.
Syntax
'Declaration
 
Function Add( _
   ByVal before As IRange _
) As IHPageBreak
'Usage
 
Dim instance As IHPageBreaks
Dim before As IRange
Dim value As IHPageBreak
 
value = instance.Add(before)

Parameters

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

Return Value

The horizontal page break.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IHPageBreaks Interface
IHPageBreaks Members