com.spire.presentation
Class SlideBackground

java.lang.Object
  extended by com.spire.presentation.SlideBackground
All Implemented Interfaces:
IActivePresentation, ISlideComponent

public class SlideBackground
extends java.lang.Object
implements ISlideComponent

Represents background of a slide.


Constructor Summary
SlideBackground(ActiveSlide parent)
           
SlideBackground(ActiveSlide parent, DgContainer dg, ActiveSlide.Ppt2003Slide ppt)
           
SlideBackground(ActiveSlide parent, SpContainer esc, ActiveSlide.Ppt2003Slide ppt)
           
 
Method Summary
 EffectDag getEffectDag()
          Gets Effect Dag.
 FillFormat getFill()
          Gets a FillFormat for BackgroundType.OwnBackground fill.
 Presentation getPresentation()
          Gets the parent presentation of a slide.
 ActiveSlide getSlide()
          Gets the parent slide of a shape.
 ColorFormat getThemeColor()
          Return a ColorFormat for Themed fill.
 int getThemeIndex()
          Gets an index of Theme.
 BackgroundType getType()
          Gets a type of background fill.
 void setThemeIndex(int value)
           
 void setType(BackgroundType value)
          Sets a type of background fill.
 

Constructor Detail

SlideBackground

public SlideBackground(ActiveSlide parent)

SlideBackground

public SlideBackground(ActiveSlide parent,
                       SpContainer esc,
                       ActiveSlide.Ppt2003Slide ppt)

SlideBackground

public SlideBackground(ActiveSlide parent,
                       DgContainer dg,
                       ActiveSlide.Ppt2003Slide ppt)
Method Detail

getType

public BackgroundType getType()
Gets a type of background fill. Read/write .

Returns:

setType

public void setType(BackgroundType value)
Sets a type of background fill. Read/write .


getEffectDag

public EffectDag getEffectDag()
Gets Effect Dag.

Returns:

getFill

public FillFormat getFill()
Gets a FillFormat for BackgroundType.OwnBackground fill. Readonly .

Returns:

getThemeColor

public ColorFormat getThemeColor()
Return a ColorFormat for Themed fill. Readonly .

Returns:

getThemeIndex

public int getThemeIndex()
Gets an index of Theme. 0..999, 0 eqauls no fill.

Returns:

setThemeIndex

public void setThemeIndex(int value)

getSlide

public ActiveSlide getSlide()
Gets the parent slide of a shape. Read-only .

Specified by:
getSlide in interface ISlideComponent
Returns:

getPresentation

public Presentation getPresentation()
Gets the parent presentation of a slide. Read-only .

Specified by:
getPresentation in interface IActivePresentation
Returns: