Skip to main content

TdxSpreadSheetTableViewOptionsPrintPagination.Reset Method

Removes all custom page breaks from a worksheet.

Declaration

procedure Reset; override;

Remarks

Call this procedure to clear both the horizontal and vertical page break lists accessible via the RowPageBreaks and ColumnPageBreaks properties, respectively. Alternatively, you can call the RowPageBreaks.Clear and ColumnPageBreaks.Clear procedures.

The Table View worksheet’s OptionsPrint.Reset procedure calls the Reset procedure internally to remove all custom page breaks.

You can link the ResetAllPageBreaks command to an element of your UI to allow end-users to remove all custom page breaks in a single action.

See Also