SheetRender Class
Contents
[
Hide
]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.
type SheetRender struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewSheetRender | the construct of SheetRender, need worksheet and ImageOrPrintOptions as params |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetPageCount | Gets the total page count of current worksheet. |
GetPageScale | Gets calculated page scale of the sheet.Returns the set scale if PageSetup.Zoom is set. Otherwise, returns the calculated scale according to PageSetup.FitToPagesWide and PageSetup.FitToPagesTall. |
GetPageSizeInch | Get page size in inch of output image. |
ToImage_Int_String | Render certain page to a file. |
ToImage_Int | Render certain page to a stream. |
ToTiff_Stream | Render whole worksheet as Tiff Image to stream. |
ToTiff_String | Render whole worksheet as Tiff Image to a file. |
Dispose | Releases resources created and used for rendering. |