ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLPrintSettings Class / FitPagesAcross Property

In This Topic
    FitPagesAcross Property
    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 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