GrapeCity.ActiveReports.Export.Excel.v9 Assembly > GrapeCity.SpreadBuilder.Printing Namespace > PageSetup Class : FitToPagesTall Property |
'Declaration Public Property FitToPagesTall As System.Short
public System.short FitToPagesTall {get; set;}
sb.Sheets[0].PageSetup.FitToPagesTall = 2; sb.Sheets[0].PageSetup.FitToPagesWide = 2; if (sb.Sheets[0].PageSetup.FitToPage == true) { MessageBox.Show("FitToPage"); }
sb.Sheets(0).PageSetup.FitToPagesTall = 2 sb.Sheets(0).PageSetup.FitToPagesWide = 2 If sb.Sheets(0).PageSetup.FitToPage = True Then MsgBox("FitToPage") End If