Aspose::Cells::Rendering::WorkbookRender class

WorkbookRender class

Represents a Workbook render. The constructor of this class , must be used after modification of pagesetup, cell style.

class WorkbookRender

Methods

MethodDescription
Dispose()Releases resources created and used for rendering.
GetPageCount()Gets the total page count of workbook.
GetPageSizeInch(int32_t pageIndex)Get page size in inch of output image.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const WorkbookRender& src)operator=
ToImage()Render whole workbook as Tiff Image to stream.
ToImage(const U16String& filename)Render whole workbook as Tiff Image to a file.
ToImage(const char16_t* filename)Render whole workbook as Tiff Image to a file.
ToImage(int32_t pageIndex, const U16String& fileName)Render certain page to a file.
ToImage(int32_t pageIndex, const char16_t* fileName)Render certain page to a file.
ToImage(int32_t pageIndex)Render certain page to a stream.
WorkbookRender(const Workbook& workbook, const ImageOrPrintOptions& options)The construct of WorkbookRender.
WorkbookRender(WorkbookRender_Impl* impl)Constructs from an implementation object.
WorkbookRender(const WorkbookRender& src)Copy constructor.
~WorkbookRender()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also