Skip to main content

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

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject

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 ThemedSlideBackground instance.

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.