FitToPagesWide

PageSetup.FitToPagesWide property

Represents the number of pages wide the worksheet will be scaled to when it’s printed. The default value is 1.

public int FitToPagesWide { get; set; }

Remarks

You have to set FitToPagesTall as zero if you want to fit all columns on one page.

See Also