Share via


HPageBreak.Location Property

Returns or sets the cell (a Range object) that defines the page-break location.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Location As Range
    Get
    Set
'Usage
Dim instance As HPageBreak
Dim value As Range

value = instance.Location

instance.Location = value
Range Location { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range

Remarks

Horizontal page breaks are aligned with the top edge of the location cell.

See Also

Reference

HPageBreak Interface

HPageBreak Members

Microsoft.Office.Interop.Excel Namespace