Spread 8.0 Documentation
PrintScalingMethod Property
Support Options
ActiveX Reference > ActiveX Properties > PrintScalingMethod Property

Glossary Item Box

PrintScalingMethod Property


See Also    DLL    Example 1    Example 2

Applies To

fpSpread control

Description

Sets or returns the scaling method to use when printing the sheet. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetPrintScalingMethod( );
void CSpreadSheet::SetPrintScalingMethod(long value);

Visual Basic

[form.]fpSpread.PrintScalingMethod[ = setting%]

Remarks

The following settings are available:

Setting Description Constant
0 - None (Default) No scaling occurs PrintScalingMethodNone
1 - SmartPrint Uses the SmartPrint capability PrintScalingMethodSmartPrint
2 - Zoom Uses the setting for the PrintZoomFactor property PrintScalingMethodZoom
3 - Best Fit Determines the best fit based on the PrintBestFitPagesTall and PrintBestFitPagesWide properties PrintScalingMethodBestFit

Set the PrintScalingMethod property before you use the PrintSheet method to print the sheet.

This property is set at the sheet level. Set the Sheet property before setting this property if there are multiple sheets.

Note the following about using the SmartPrint capability:

Spread Designer

Choose the Sheet menu, then the Print Properties menu, select the Print Properties tab, and then select an item in the Method drop-down list box in the Scaling group box in the Print Properties dialog box.

Data Type

Integer (Enumerated)

See Also

Printing a Sheet in the Active View in Spread Designer
Specifying Print Options
Specifying a Print Range

PrintBestFitPagesTall, PrintBestFitPagesWide, PrintZoomFactor properties

PrintSheet method

DLL Correspondence

SS_PRINTFORMAT structure

Copyright © GrapeCity, inc. All rights reserved.