Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class WorkbookRender

java.lang.Object
  extended by com.aspose.cells.WorkbookRender

public class WorkbookRender
extends java.lang.Object

Represents a Workbook render.


Constructor Summary
WorkbookRender(Workbook workbook, ImageOptions options)
          The construct of WorkbookRender
 
Method Summary
 int getPageCount()
          Get the total page count of current workbook
 void toPrinter(java.lang.String printerName)
          Render workbook to Printer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkbookRender

public WorkbookRender(Workbook workbook,
                      ImageOptions options)
The construct of WorkbookRender

Parameters:
workbook - indicate which workbook to be rendered.
options - properties of output image
See Also:
ImageOptions
Method Detail

getPageCount

public int getPageCount()
Get the total page count of current workbook

Returns:
total page count of current workbook

toPrinter

public void toPrinter(java.lang.String printerName)
               throws CellsException
Render workbook to Printer

Parameters:
printerName - the name of the printer , for example: "Microsoft Office Document Image Writer"
Throws:
CellsException