Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FpSpread Dim sheet As SheetView instance.PrintSheet(sheet) |
Parameters
- sheet
- Sheet to be printed
This example prints a child sheet.
C# | Copy Code |
---|---|
private void button1_Click(object sender, System.EventArgs e) { FarPoint.Win.Spread.SheetView ss; ss = fpSpread1.Sheets[0].GetChildView(0, 0); if (ss != null) { fpSpread1.PrintSheet(ss); } } |
Visual Basic | Copy Code |
---|---|
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ss As FarPoint.Win.Spread.SheetView ss = FpSpread1.Sheets(0).GetChildView(0, 0) If Not ss Is Nothing Then FpSpread1.PrintSheet(ss) End If End Sub |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2