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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > PrintSheet Method : PrintSheet(SheetView) Method
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
See Also

Reference

FpSpread Class
FpSpread Members
Overload List

User-Task Documentation

Printing