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.


type SheetRender struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewSheetRenderthe construct of SheetRender, need worksheet and ImageOrPrintOptions as params

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetPageCountGets the total page count of current worksheet.
GetPageScaleGets calculated page scale of the sheet.Returns the set scale if is set. Otherwise, returns the calculated scale according to and .
ToImage_Int_StringRender certain page to a file.
ToTiff_StringRender whole worksheet as Tiff Image to a file.
DisposeReleases resources created and used for rendering.