HPageBreak Interface

Definition

Represents a horizontal page break.

public interface class HPageBreak
[System.Runtime.InteropServices.Guid("00024401-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface HPageBreak
Public Interface HPageBreak
Attributes

Remarks

The HPageBreak object is a member of the HPageBreaks collection.

Use HPageBreaks(index), where index is the index number of the page break, to return an HPageBreak object.

Note There is a limit of 1,026 horizontal page breaks per sheet.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Extent

Returns the type of the specified page break: full-screen or only within a print area.

Location

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

Parent

Returns the parent object for the specified object.

Type

Returns or sets the page break type.

Methods

Delete()

Deletes the object.

DragOff(XlDirection, Int32)

Drags a page break out of the print area.

Applies to