public class WordProcessingImageFillFormat extends OfficeImageFillFormat<WordProcessingWatermarkableImage>
| Constructor and Description |
|---|
WordProcessingImageFillFormat(com.aspose.words.Fill fill,
com.aspose.words.ImageData imageData,
WordProcessingContent content) |
| Modifier and Type | Method and Description |
|---|---|
WordProcessingWatermarkableImage |
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(WordProcessingWatermarkableImage 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).
|
checkIfBackgroundImageIsSetpublic WordProcessingImageFillFormat(com.aspose.words.Fill fill,
com.aspose.words.ImageData imageData,
WordProcessingContent content)
public WordProcessingWatermarkableImage getBackgroundImage()
Gets the background image.
getBackgroundImage in class OfficeImageFillFormat<WordProcessingWatermarkableImage>public boolean getTileAsTexture()
Gets a value indicating whether the image is tiled across the background.
getTileAsTexture in class OfficeImageFillFormat<WordProcessingWatermarkableImage>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<WordProcessingWatermarkableImage>public void setBackgroundImage(WordProcessingWatermarkableImage value)
Sets the background image.
setBackgroundImage in class OfficeImageFillFormat<WordProcessingWatermarkableImage>value - The background image. Returns null if the image is not set.public void setTileAsTexture(boolean value)
Sets a value indicating whether the image is tiled across the background.
setTileAsTexture in class OfficeImageFillFormat<WordProcessingWatermarkableImage>value - True if the image is tiled across the background; otherwise, false (the image is stretched).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<WordProcessingWatermarkableImage>value - The transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).Copyright © 2026. All rights reserved.