HotXLS Docs

Zoom property

Returns or sets a percentage (between 10 and 400 percent) by which the Worksheet will be scaled for printing. Read/write Variant.

Syntax

property Zoom: Variant;

Remarks

If this property is False, the FitToPagesWide and FitToPagesTall properties control how the Worksheet is scaled. All scaling retains the aspect ratio of the original document.

Example

This example scales sheet one by 150 percent when the Worksheet is printed.

Workbook.Worksheets[1].PageSetup.Zoom := 150;