HotXLS Documentation

View property

Returns or sets the worksheet view mode. The value is a TXlWindowView: xlNormalView, xlPageBreakPreview, or xlPageLayoutView Classic XLS files persist xlPageBreakPreview through the BIFF Window2 record; the XLSX export bridge maps the same setting to the OOXML sheet view

Syntax

property View: TXlWindowView;

Example

Workbook.Sheets[1].View := xlPageBreakPreview;