FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PrintInfo Class : BestFitWithSpan Property |
fpSpread1.Sheets[0].AddSpanCell(1, 1, 2, 2); fpSpread1.Sheets[0].Cells[1, 1].Text = "Print"; FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo(); printset.BestFitWithSpan = true; printset.Preview = true; fpSpread1.Sheets[0].PrintInfo = printset; fpSpread1.PrintSheet(0);
FpSpread1.Sheets(0).AddSpanCell(1, 1, 2, 2) FpSpread1.Sheets(0).Cells(1, 1).Text = "Print" Dim printset As New FarPoint.Win.Spread.PrintInfo() printset.BestFitWithSpan = True printset.Preview = True FpSpread1.Sheets(0).PrintInfo = printset FpSpread1.PrintSheet(0)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10