Documentazione HotXLS

PageBreakPreviewZoom proprietà

Restituisce o sets the Page Break Preview zoom percentage for a classic XLS worksheet. Read/write Integer. Usa NormalViewZoom per impostare lo zoom della visualizzazione Normale in cache mentre il foglio rimane in Anteprima interruzioni di pagina

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

Questo esempio mantiene il foglio di lavoro nella visualizzazione Normale mentre imposta lo zoom dell'Anteprima interruzioni di pagina

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