FitToPagesTall

PageSetup.FitToPagesTall property

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

public int FitToPagesTall { get; set; }

Remarks

You have to set FitToPagesWide as zero if you want to fit all rows on one page.

See Also