Excel for WPF and Silverlight
FitPagesAcross Property (XLPrintSettings)

C1.WPF.Excel Namespace > XLPrintSettings Class : FitPagesAcross Property
Fit the sheet to this number of pages across (0 means use as many as needed).
Syntax
'Declaration
 
Public Property FitPagesAcross As System.Integer
public System.int FitPagesAcross {get; set;}
Remarks
Causes C1Excel to select "fit to page" print mode, ignoring the value of the ScalingFactor property. Setting the FitPagesAcross or FitPagesDown properties automatically sets the AutoScale property to true, causing C1Excel to calculate the scaling factor based on the given number of pages and to ignore the value of the ScalingFactor property.
See Also

Reference

XLPrintSettings Class
XLPrintSettings Members