Documentazione HotXLS

NormalViewZoom proprietà

Restituisce o sets the Normal view zoom percentage for a classic XLS worksheet. Read/write Integer

Sintassi

proprietà NormalViewZoom: Integer;

Osservazioni

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

Esempio

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

Workbook.Sheets[1].View := xlPageBreakPreview;
Workbook.Sheets[1].PageBreakPreviewZoom := 80;
Workbook.Sheets[1].NormalViewZoom := 130;