Spread Windows Forms 9.0 Product Documentation
PrintSheet(SheetView) Method
Example 


Sheet to be printed
Handles the printing of the specified sheet in a separate thread.
Syntax
'Declaration
 
Public Overloads Sub PrintSheet( _
   ByVal sheet As SheetView _
) 
'Usage
 
Dim instance As FpSpread
Dim sheet As SheetView
 
instance.PrintSheet(sheet)
public void PrintSheet( 
   SheetView sheet
)

Parameters

sheet
Sheet to be printed
Example
This example prints a child sheet.
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);
            }
        }
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
Requirements

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

See Also

Reference

FpSpread Class
FpSpread Members
Overload List

User-Task Documentation

Printing

 

 


Copyright © GrapeCity, inc. All rights reserved.