ThemedSlideBackground Class
A slide’s background fill that is based on the theme defined in the slide master.
Declaration
public class ThemedSlideBackground extends SlideBackground
Inherited Members
Inheritance
ThemedSlideBackground(int themeIndex)
Initializes a new instance of the ThemedSlideBackground class with specified settings.
Declaration
public ThemedSlideBackground(int themeIndex)
Parameters
| Name | Type | Description |
|---|---|---|
| themeIndex | int | The theme index. |
Methods
deepClone() Method
Clones the current ThemedSlideBackground instance.
Declaration
public ThemedSlideBackground deepClone()
Returns
| Type | Description |
|---|---|
ThemedSlideBackground |
The cloned |
getColor() Method
Returns the color used to fill the slide background.
Declaration
public OfficeColor getColor()
Returns
| Type | Description |
|---|---|
| OfficeColor | The color used to fill the slide background. |
getFillIndex() Method
Returns the index (ranging from 1 to 999) of a fill to be applied to slides. A valid presentation must contain at least three fill elements in the theme (for example, one SolidFill and two GradientFill).
Declaration
public int getFillIndex()
Returns
| Type | Description |
|---|---|
| int | The fill index. |
getType() Method
Returns the background fill type.
Declaration
public SlideBackgroundType getType()
Returns
| Type | Description |
|---|---|
| SlideBackgroundType | The background fill type. |
setColor(OfficeColor value) Method
Sets the color used to fill the slide background.
Declaration
public void setColor(OfficeColor value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | OfficeColor | The color used to fill the slide background. |
setFillIndex(int value) Method
Sets the index (ranging from 1 to 999) of a fill to be applied to slides. A valid presentation must contain at least three fill elements in the theme (for example, one SolidFill and two GradientFill).
Declaration
public void setFillIndex(int value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | int | The fill index. |