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.
Inheritance Hierarchy
SystemObject
  Aspose.Cells.RenderingSheetRender

Namespace:  Aspose.Cells.Rendering
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public class SheetRender

The SheetRender type exposes the following members.

Constructors
  NameDescription
Public methodSheetRender
the construct of SheetRender, need worksheet and ImageOrPrintOptions as params
Properties
  NameDescription
Public propertyPageCount
Indicate the total page count of current worksheet
Public propertyPageScale
Gets calculated page scale of the sheet.
Methods
  NameDescription
Public methodCustomPrint
Client can control page setting of printer when print each page using this function.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPageSize
Get page size of output image. The size unit is in pixel.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToImage(Int32)
Render certain page to a Bitmap object.
Public methodToImage(Int32, Stream)
Render certain page to a stream.
Public methodToImage(Int32, String)
Render certain page to a file.
Public methodToImage(Int32, Graphics, Single, Single)
Render certain page to a Graphics
Public methodToImage(Int32, Graphics, Single, Single, Single, Single)
Render certain page to a Graphics
Public methodToPrinter(PrinterSettings)
Render worksheet to Printer
Public methodToPrinter(String)
Render worksheet to Printer
Public methodToPrinter(String, String)
Render worksheet to Printer
Public methodToPrinter(String, Int32, Int32)
Render worksheet to Printer
Public methodToString (Inherited from Object.)
Public methodToTiff(Stream)
Render whole worksheet as Tiff Image to stream.
Public methodToTiff(String)
Render whole worksheet as Tiff Image to a file.
See Also