TdxSpreadSheetTableViewOptionsPrintPage.FitToWidth Property
Specifies the number of printout pages that must accommodate all occupied worksheet columns.
Declaration
property FitToWidth: Cardinal read; write; default 0;
Property Value
Type | Default |
---|---|
Cardinal | 0 |
Remarks
This property is used either individually or in conjunction with the FitToHeight property to limit the number of pages on which the worksheet contents must be printed. The FitToWidth property is particularly useful if your worksheet has a lot of columns, providing the option to reduce the column width to fit the specified number of printout pages.
To specify the number of printout pages that must accommodate all occupied worksheet rows use the FitToHeight property instead.
Note
The worksheet print setting, provided by the FitToWidth property, is supported only by the XLSX, XLTX, XLS, and XLT file formats. If you save the workbook in other file formats, this print setting is ignored. The FitToWidth property value is applied to the printout page layout only if the ScaleMode property is set to oppsmFitToPage.
The default FitToWidth property value is 0.