Spread Windows Forms 7.0 Product Documentation
PrintSheet(SheetView) Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > PrintSheet Method : PrintSheet(SheetView) Method


sheet
Sheet to be printed

Glossary Item Box

Handles the printing of the specified sheet in a separate thread.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub PrintSheet( _
   ByVal sheet As SheetView _
) 
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim sheet As SheetView
 
instance.PrintSheet(sheet)
C# 
public void PrintSheet( 
   SheetView sheet
)

Parameters

sheet
Sheet to be printed

Example

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 BasicCopy 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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

FpSpread Class
FpSpread Members
Overload List

User-Task Documentation

Printing

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.