[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.PrintSheet

PrintSheet Method

PrintSheet(int)

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

Declaration
public void PrintSheet(int sheet)
Public Sub PrintSheet(sheet As Integer)
Parameters
Type Name Description
int sheet

Index of sheet to print; -1 for all sheets

Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is out of range; must be between 0 and the total number of sheets (or -1 for all sheets)

PrintSheet(int, bool)

Handles the printing of the specified sheet.

Declaration
public void PrintSheet(int sheet, bool newThread)
Public Sub PrintSheet(sheet As Integer, newThread As Boolean)
Parameters
Type Name Description
int sheet

Index of sheet to print; -1 for all sheets

bool newThread

True to create a new thread for the print job, or false to print the sheet in the UI thread.

Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is out of range; must be between 0 and the total number of sheets (or -1 for all sheets)

PrintSheet(int, bool, PrintArea)

Handles the printing of the specified sheet.

Declaration
public void PrintSheet(int sheet, bool newThread, PrintArea printArea)
Public Sub PrintSheet(sheet As Integer, newThread As Boolean, printArea As PrintArea)
Parameters
Type Name Description
int sheet

Index of sheet to print; -1 for all sheets

bool newThread

True to create a new thread for the print job, or false to print the sheet in the UI thread.

PrintArea printArea

print option

PrintSheet(SheetView)

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

Declaration
public void PrintSheet(SheetView sheet)
Public Sub PrintSheet(sheet As SheetView)
Parameters
Type Name Description
SheetView sheet

Sheet to be printed