WorkbookRender
WorkbookRender class
Represents a Workbook render. The constructor of this class , must be used after modification of pagesetup, cell style.
public class WorkbookRender
Constructors
Name |
Description |
WorkbookRender(Workbook, ImageOrPrintOptions) |
The construct of WorkbookRender |
Properties
Name |
Description |
PageCount { get; } |
Gets the total page count of workbook. |
Methods
Name |
Description |
CustomPrint(bool, PrintPageEventArgs) |
Client can control page setting of printer when print each page using this function. |
GetPageSize(int) |
Get page size of output image. The size unit is in pixel. |
GetPageSizeInch(int) |
Get page size in inch of output image. |
ToImage(int) |
Render certain page to a Bitmap object. |
ToImage(Stream) |
Render whole workbook as Tiff Image to stream. |
ToImage(string) |
Render whole workbook as Tiff Image to a file. |
ToImage(int, Stream) |
Render certain page to a stream. |
ToImage(int, string) |
Render certain page to a file. |
ToPrinter(PrinterSettings) |
Render workbook to Printer |
ToPrinter(string) |
Render workbook to Printer |
ToPrinter(PrinterSettings, string) |
Render workbook to Printer |
ToPrinter(string, string) |
Render workbook to Printer |
ToPrinter(string, int, int) |
Render workbook to Printer |
See Also