XlsHPageBreak module

class XlsHPageBreak.XlsHPageBreak

Bases: XlsObject

Represents a horizontal page break in an Excel worksheet.

This class provides properties and methods for manipulating horizontal page breaks in Excel worksheets, including position, extent, and type settings. It extends the XlsObject class to provide page break specific functionality.

Clone(parent: SpireObject) XlsHPageBreak

Creates a clone of this horizontal page break.

Parameters:

parent (SpireObject) – The parent object for the cloned page break.

Returns:

A new XlsHPageBreak object that is a copy of this instance.

Return type:

XlsHPageBreak

property EndColumn: int

Gets or sets the ending column index of this horizontal page break.

Returns:

The zero-based ending column index of the page break.

Return type:

int

property Extent: PageBreakExtentType

Gets the extent type of the page break.

Returns:

An enumeration value representing the extent of the page break.

Return type:

PageBreakExtentType

property Row: int

Gets the row index where the horizontal page break is located.

Returns:

The zero-based row index of the page break.

Return type:

int

property StartColumn: int

Gets or sets the starting column index of this horizontal page break.

Returns:

The zero-based starting column index of the page break.

Return type:

int

property Type: PageBreakType

Gets or sets the type of the page break.

Returns:

An enumeration value representing the type of page break.

Return type:

PageBreakType