PresentationImageFillFormat
Inheritance: java.lang.Object, com.groupdocs.watermark.contents.OfficeImageFillFormat
public class PresentationImageFillFormat extends OfficeImageFillFormat<PresentationWatermarkableImage>
Represents the image fill format settings in a PowerPoint document.
Methods
Method | Description |
---|---|
getTileAsTexture() | Gets a value indicating whether the image is tiled across the background. |
setTileAsTexture(boolean value) | Sets a value indicating whether the image is tiled across the background. |
getTransparency() | Gets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent). |
setTransparency(double value) | Sets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent). |
getBackgroundImage() | Gets the background image. |
setBackgroundImage(PresentationWatermarkableImage value) | Sets the background image. |
getTileAsTexture()
public boolean getTileAsTexture()
Gets a value indicating whether the image is tiled across the background.
Returns: boolean - True if the image is tiled across the background; otherwise, false (the image is stretched). The default value is false.
setTileAsTexture(boolean value)
public void setTileAsTexture(boolean value)
Sets a value indicating whether the image is tiled across the background.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | True if the image is tiled across the background; otherwise, false (the image is stretched). The default value is false. |
getTransparency()
public double getTransparency()
Gets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
Returns: double - The transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
setTransparency(double value)
public void setTransparency(double value)
Sets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | The transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent). |
getBackgroundImage()
public PresentationWatermarkableImage getBackgroundImage()
Gets the background image.
Returns: PresentationWatermarkableImage - The background image. Returns null if the image is not set.
setBackgroundImage(PresentationWatermarkableImage value)
public void setBackgroundImage(PresentationWatermarkableImage value)
Sets the background image.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PresentationWatermarkableImage | The background image. Returns null if the image is not set. |