SheetRender class
SheetRender class
Represents a worksheet render which can render worksheet to various images such as (BMP, PNG, JPEG, TIFF..) The constructor of this class , must be used after modification of pagesetup, cell style.
The SheetRender type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | the construct of SheetRender, need worksheet and ImageOrPrintOptions as params |
Properties
Property | Description |
---|---|
page_count | Gets the total page count of current worksheet. |
page_scale | Gets calculated page scale of the sheet. Returns the set scale if PageSetup.zoom is set. Otherwise, returns the calculated scale according to PageSetup.fit_to_pages_wide and PageSetup.fit_to_pages_tall . |
Methods
Method | Description |
---|---|
to_image | Render certain page to a file. |
to_image | Render certain page to a stream. |
to_tiff | Render whole worksheet as Tiff Image to stream. |
to_tiff | Render whole worksheet as Tiff Image to a file. |
to_printer | Render worksheet to Printer |
to_printer | Render worksheet to Printer |
to_printer | Render worksheet to Printer |
to_printer | Render worksheet to Printer |
to_printer | Render worksheet to Printer |
get_page_size_inch | Get page size in inch of output image. |
custom_print | Client can control page setting of printer when print each page using this function. |
dispose | Releases resources created and used for rendering. |
See Also
- module
aspose.cells.rendering