Documents for Excel, Java Edition Documentation
com.grapecity.documents.excel Package / IWorksheet Interface / toImage Method / toImage(OutputStream,ImageType) Method
The output image stream.
Specifies the type of image to create.
In This Topic
    toImage(OutputStream,ImageType) Method
    In This Topic
    Saves the sheet to the specified image file.
    Syntax
    void toImage( 
       java.io.OutputStream stream,
       ImageType imageType
    )

    Parameters

    stream
    The output image stream.
    imageType
    Specifies the type of image to create.
    See Also