com.aspose.slides
Class Background

java.lang.Object
  extended by com.aspose.slides.Background
All Implemented Interfaces:
IBackground, IPresentationComponent, ISlideComponent

public class Background
extends java.lang.Object
implements IBackground

Represents background of a slide.


Method Summary
 IFillFormat getFillFormat()
           Returns a FillFormat for BackgroundType.OwnBackground fill.
 IPresentation getPresentation()
           Returns the parent presentation of a slide.
 IBaseSlide getSlide()
           Returns the parent slide of a shape.
 IColorFormat getStyleColor()
           Return a ColorFormat for a BackgroundType.Themed fill.
 int getStyleIndex()
           Returns an index of BackgroundType.Themed fill in background theme collection.
 byte getType()
           Returns a type of background fill.
 void setStyleIndex(int value)
           
 void setType(byte value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public byte getType()

Returns a type of background fill. Read/write BackgroundType.

Specified by:
getType in interface IBackground

setType

public void setType(byte value)
Specified by:
setType in interface IBackground

getFillFormat

public IFillFormat getFillFormat()

Returns a FillFormat for BackgroundType.OwnBackground fill. Readonly IFillFormat.

Specified by:
getFillFormat in interface IBackground

getStyleColor

public IColorFormat getStyleColor()

Return a ColorFormat for a BackgroundType.Themed fill. Readonly IColorFormat.

Specified by:
getStyleColor in interface IBackground

getStyleIndex

public int getStyleIndex()

Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index.

Specified by:
getStyleIndex in interface IBackground

setStyleIndex

public void setStyleIndex(int value)
Specified by:
setStyleIndex in interface IBackground

getSlide

public IBaseSlide getSlide()

Returns the parent slide of a shape. Read-only BaseSlide.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()

Returns the parent presentation of a slide. Read-only Presentation.

Specified by:
getPresentation in interface IPresentationComponent