exportAsImage

public final void exportAsImage(String filepath)

Exports the document as image format to the specified file path.

Parameters

filepath

The file path where the image document will be saved.


public final void exportAsImage(FileOutputStream stream)

Exports the document as image format to the specified stream.

Parameters

stream

The stream where the image document will be written.