SheetRender.ToPrinter
Contents
[
Hide
]ToPrinter(string)
Render worksheet to Printer
public void ToPrinter(string printerName)
Parameter | Type | Description |
---|---|---|
printerName | String | the name of the printer , for example: “Microsoft Office Document Image Writer” |
See Also
- class SheetRender
- namespace Aspose.Cells.Rendering
- assembly Aspose.Cells
ToPrinter(string, string)
Render worksheet to Printer
public void ToPrinter(string printerName, string jobName)
Parameter | Type | Description |
---|---|---|
printerName | String | the name of the printer , for example: “Microsoft Office Document Image Writer” |
jobName | String | set the print job name |
See Also
- class SheetRender
- namespace Aspose.Cells.Rendering
- assembly Aspose.Cells
ToPrinter(PrinterSettings)
Render worksheet to Printer
public void ToPrinter(PrinterSettings printerSettings)
Parameter | Type | Description |
---|---|---|
printerSettings | PrinterSettings | the settings of printer, e.g. PrinterName, Duplex |
See Also
- class SheetRender
- namespace Aspose.Cells.Rendering
- assembly Aspose.Cells
ToPrinter(PrinterSettings, string)
Render worksheet to Printer
public void ToPrinter(PrinterSettings printerSettings, string jobName)
Parameter | Type | Description |
---|---|---|
printerSettings | PrinterSettings | the settings of printer, e.g. PrinterName, Duplex |
jobName | String | set the print job name |
See Also
- class SheetRender
- namespace Aspose.Cells.Rendering
- assembly Aspose.Cells
ToPrinter(string, int, int)
Render worksheet to Printer
[Obsolete("Use ToPrinter(string PrinterName) and ImageOrPrintOptions.PageIndex, PageCount instead.")]
public void ToPrinter(string printerName, int printPageIndex, int printPageCount)
Parameter | Type | Description |
---|---|---|
printerName | String | the name of the printer , for example: “Microsoft Office Document Image Writer” |
printPageIndex | Int32 | the 0-based index of the first page to print, it must be in Range [0, SheetRender.PageCount-1] |
printPageCount | Int32 | the number of pages to print, it must be greater than zero |
Remarks
NOTE: This method is now obsolete. Instead, please use ToPrinter(string PrinterName) and ImageOrPrintOptions.PageIndex, PageCount to set the first page and the number of pages to print. This property will be removed 12 months later since December 2021. Aspose apologizes for any inconvenience you may have experienced.
See Also
- class SheetRender
- namespace Aspose.Cells.Rendering
- assembly Aspose.Cells