Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLPrintSettings Class / FitPagesAcross Property

In This Topic
    FitPagesAcross Property (XLPrintSettings)
    In This Topic
    Fit the sheet to this number of pages across (0 means use as many as needed).
    Syntax
    'Declaration
     
    
    Public Property FitPagesAcross As Integer
    public 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