PrintBestFitPagesTall Property
Applies To
fpSpread control
Description
Sets or returns the number of pages tall to print when the scaling method is set to Best Fit. This property is available at run time only.
Syntax
short CSpreadSheet::GetPrintBestFitPagesTall( );
void CSpreadSheet::SetPrintBestFitPagesTall(short value);
[form.]fpSpread.PrintBestFitPagesTall[ = value%]
Remarks
The default value for the PrintBestFitPagesTall property is 1. The maximum value is 999.
This property is set at the sheet level. Set the Sheet property before setting this property if there are multiple sheets.
To set the number of pages wide to display, set the PrintBestFitPagesWide property.
This property does not have an effect unless the PrintScalingMethod property is set to 3 (Best Fit).
Spread Designer
Choose the Sheet menu, then the Print Properties menu, select the Print Properties tab, and then type a number in the Best Fit Tall edit box in the Scaling group box in the Print Properties dialog box.
Data Type
Integer
See Also
PrintBestFitPagesWide, PrintScalingMethod properties
DLL Correspondence
SS_PRINTFORMAT structure