HotXLS Docs

FitToPagesWide proprietà

Returns o sets the number of pages wide the Worksheet will be scaled to when it's printed. Read/write Variant

Syntax

proprietà FitToPagesWide: Word;

Remarks

If this proprietà is False, the Worksheet will be scaled according to the FitToPagesTall propertyIf the Zoom proprietà is True, the FitToPagesWide proprietà is ignored

Example

This example causes to print Worksheet one exactly one page tall e wide

??????Workbook.Worksheets[1].PageSetup.Zoom := False;
Workbook.Worksheets[1].PageSetup.FitToPagesTall := 1;
Workbook.Worksheets[1].PageSetup.FitToPagesWide := 1;