Documents for Excel, Java Edition Documentation
com.grapecity.documents.excel.drawing Package / IShape 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 shape to the specified image stream.
    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