[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPageSetup.FitToPagesTall

FitToPagesTall Property

FitToPagesTall

Gets or sets the number of pages tall the worksheet will be scaled to when it's printed. Applies only to worksheets.

This setting is used when worksheet scaling is controlled by IsPercentScale instead of a zoom percentage.

Declaration
int FitToPagesTall { get; set; }
Property FitToPagesTall As Integer
Examples
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.IsPercentScale = false;
pageSetup.FitToPagesTall = 2;
int pagesTall = pageSetup.FitToPagesTall;