public class SpreadsheetImageFillFormat extends OfficeImageFillFormat<SpreadsheetWatermarkableImage>
Represents the image fill format settings in an Excel document.
Modifier and Type | Method and Description |
---|---|
SpreadsheetWatermarkableImage |
getBackgroundImage()
Gets the background image.
|
boolean |
getTileAsTexture()
Gets a value indicating whether the image is tiled across the background.
|
double |
getTransparency()
Gets the transparency of the background image as a value from 0.0 (opaque)
through 1.0 (fully transparent).
|
void |
setBackgroundImage(SpreadsheetWatermarkableImage value)
Sets the background image.
|
void |
setTileAsTexture(boolean value)
Sets a value indicating whether the image is tiled across the background.
|
void |
setTransparency(double value)
Sets the transparency of the background image as a value from 0.0 (opaque)
through 1.0 (fully transparent).
|
public boolean getTileAsTexture()
Gets a value indicating whether the image is tiled across the background.
getTileAsTexture
in class OfficeImageFillFormat<SpreadsheetWatermarkableImage>
public void setTileAsTexture(boolean value)
Sets a value indicating whether the image is tiled across the background.
setTileAsTexture
in class OfficeImageFillFormat<SpreadsheetWatermarkableImage>
value
- True if the image is tiled across the background; otherwise, false (the image is stretched).public double getTransparency()
Gets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
getTransparency
in class OfficeImageFillFormat<SpreadsheetWatermarkableImage>
public void setTransparency(double value)
Sets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
setTransparency
in class OfficeImageFillFormat<SpreadsheetWatermarkableImage>
value
- The transparency of the background image as a value from 0.0 (opaque) through 1.0
(fully transparent).public SpreadsheetWatermarkableImage getBackgroundImage()
Gets the background image.
getBackgroundImage
in class OfficeImageFillFormat<SpreadsheetWatermarkableImage>
public void setBackgroundImage(SpreadsheetWatermarkableImage value)
Sets the background image.
setBackgroundImage
in class OfficeImageFillFormat<SpreadsheetWatermarkableImage>
value
- The background image. Returns null if the image is not set.