Documentazione HotXLS

PageBreakPreviewZoom proprietà

Restituisce o sets the Page Break Preview zoom percentage for a classic XLS worksheet. Read/write Integer. Usa NormalViewZoom to set the cached Normal view zoom while the worksheet remains in Page Break Preview

Sintassi

proprietà PageBreakPreviewZoom: Integer;

Osservazioni

Values from 10 through 400 are accepted. When the worksheet is in Normal view, this proprietà stores the cached Page Break Preview zoom that Excel restores when the user switches views. When the worksheet is already in Page Break Preview, this proprietà matches the active view zoom

Esempio

This example keeps the worksheet in Normal view while setting the Page Break Preview zoom

Workbook.Sheets[1].View := xlNormalView;
Workbook.Sheets[1].Zoom := 125;
Workbook.Sheets[1].PageBreakPreviewZoom := 75;