Class ImageSaveOptions
public class ImageSaveOptions
extends Object
Options for exporting image file.
-
Constructor Summary
Constructors
-
Method Summary
Gets the background color of the exported image.
Gets whether to save the image as a black and white image.
boolean
Gets whether to include the automatically merged cells.
Gets the resolution (in DPI) for jpeg image file.
Gets the scale on the X axis.
Gets the scale on the Y axis.
Gets whether to display column headings.
Gets whether to display drawing objects (charts, shapes, and pictures).
Gets whether to display gridlines.
Gets whether to display row headings.
void
Sets the background color of the exported image.
void
Sets whether to save the image as a black and white image.
void
void
Sets whether to include the automatically merged cells.
void
Sets the resolution (in DPI) for jpeg image file.
void
Sets the scale on the X axis.
void
Sets the scale on the Y axis.
void
Sets whether to display column headings.
void
Sets whether to display drawing objects (charts, shapes, and pictures).
void
Sets whether to display gridlines.
void
Sets whether to display row headings.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ImageSaveOptions
public ImageSaveOptions()
-
Method Details
-
getBackgroundColor
public Color getBackgroundColor()
Gets the background color of the exported image.
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
Sets the background color of the exported image.
-
getShowRowHeadings
public Boolean getShowRowHeadings()
Gets whether to display row headings.
-
setShowRowHeadings
public void setShowRowHeadings(Boolean showRowHeadings)
Sets whether to display row headings.
-
getShowColumnHeadings
public Boolean getShowColumnHeadings()
Gets whether to display column headings.
-
setShowColumnHeadings
public void setShowColumnHeadings(Boolean showColumnHeadings)
Sets whether to display column headings.
-
getShowGridlines
Gets whether to display gridlines.
-
setShowGridlines
public void setShowGridlines(Boolean showGridlines)
Sets whether to display gridlines.
-
getShowDrawingObjects
public Boolean getShowDrawingObjects()
Gets whether to display drawing objects (charts, shapes, and pictures).
-
setShowDrawingObjects
public void setShowDrawingObjects(Boolean showDrawingObjects)
Sets whether to display drawing objects (charts, shapes, and pictures).
-
getScaleX
Gets the scale on the X axis.
-
setScaleX
public void setScaleX(Double scaleX)
Sets the scale on the X axis.
-
getScaleY
Gets the scale on the Y axis.
-
setScaleY
public void setScaleY(Double scaleY)
Sets the scale on the Y axis.
-
getResolution
Gets the resolution (in DPI) for jpeg image file.
-
setResolution
public void setResolution(Integer resolution)
Sets the resolution (in DPI) for jpeg image file.
-
getBlackAndWhite
Gets whether to save the image as a black and white image.
-
setBlackAndWhite
public void setBlackAndWhite(Boolean blackAndWhite)
Sets whether to save the image as a black and white image.
-
getGridlineColor
public Color getGridlineColor()
Gets the gridline color.
-
setGridlineColor
public void setGridlineColor(Color gridlineColor)
Sets the gridline color.
-
getIncludeAutoMergedCells
public boolean getIncludeAutoMergedCells()
Gets whether to include the automatically merged cells. The default value is false.
-
setIncludeAutoMergedCells
public void setIncludeAutoMergedCells(boolean value)
Sets whether to include the automatically merged cells. The default value is false.