Package com.grapecity.documents.excel
Class ImageSaveOptions
java.lang.Object
com.grapecity.documents.excel.ImageSaveOptions
Options for exporting image file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the background color of the exported image.Gets whether to save the image as a black and white image.Gets the gridline color.booleanGets 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.voidsetBackgroundColor(Color backgroundColor) Sets the background color of the exported image.voidsetBlackAndWhite(Boolean blackAndWhite) Sets whether to save the image as a black and white image.voidsetGridlineColor(Color gridlineColor) Sets the gridline color.voidsetIncludeAutoMergedCells(boolean value) Sets whether to include the automatically merged cells.voidsetResolution(Integer resolution) Sets the resolution (in DPI) for jpeg image file.voidSets the scale on the X axis.voidSets the scale on the Y axis.voidsetShowColumnHeadings(Boolean showColumnHeadings) Sets whether to display column headings.voidsetShowDrawingObjects(Boolean showDrawingObjects) Sets whether to display drawing objects (charts, shapes, and pictures).voidsetShowGridlines(Boolean showGridlines) Sets whether to display gridlines.voidsetShowRowHeadings(Boolean showRowHeadings) Sets whether to display row headings.
-
Constructor Details
-
ImageSaveOptions
public ImageSaveOptions()
-
-
Method Details
-
getBackgroundColor
Gets the background color of the exported image. -
setBackgroundColor
Sets the background color of the exported image. -
getShowRowHeadings
Gets whether to display row headings. -
setShowRowHeadings
Sets whether to display row headings. -
getShowColumnHeadings
Gets whether to display column headings. -
setShowColumnHeadings
Sets whether to display column headings. -
getShowGridlines
Gets whether to display gridlines. -
setShowGridlines
Sets whether to display gridlines. -
getShowDrawingObjects
Gets whether to display drawing objects (charts, shapes, and pictures). -
setShowDrawingObjects
Sets whether to display drawing objects (charts, shapes, and pictures). -
getScaleX
Gets the scale on the X axis. -
setScaleX
Sets the scale on the X axis. -
getScaleY
Gets the scale on the Y axis. -
setScaleY
Sets the scale on the Y axis. -
getResolution
Gets the resolution (in DPI) for jpeg image file. -
setResolution
Sets the resolution (in DPI) for jpeg image file. -
getBlackAndWhite
Gets whether to save the image as a black and white image. -
setBlackAndWhite
Sets whether to save the image as a black and white image. -
getGridlineColor
Gets the gridline color. -
setGridlineColor
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.
-