GrapeCity.ActiveReports.Export.Excel.v8 Assembly > GrapeCity.SpreadBuilder.Printing Namespace > PageSetup Class : FitToPage Property |
'Declaration Public ReadOnly Property FitToPage As System.Boolean
public System.bool FitToPage {get;}
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