Background

Background class

Represents background of a slide.

getEffectFormat

NameDescription
getEffectFormat()Returns a EffectFormat for BackgroundType.OwnBackground fill. Read-only IEffectFormat.

Returns: EffectFormat


getEffective

NameDescription
getEffective()Gets effective background data with the inheritance applied.

Returns: BackgroundEffectiveData


getFillFormat

NameDescription
getFillFormat()Returns a FillFormat for BackgroundType.OwnBackground fill. Read-only IFillFormat.

Returns: FillFormat


getPresentation

NameDescription
getPresentation()Returns the parent presentation of a slide. Read-only IPresentation.

Returns: Presentation


getSlide

NameDescription
getSlide()Returns the parent slide of a shape. Read-only IBaseSlide.

Returns: BaseSlide


getStyleColor

NameDescription
getStyleColor()Return a ColorFormat for a BackgroundType.Themed fill. Read-only IColorFormat.

Returns: ColorFormat


getStyleIndex

NameDescription
getStyleIndex()Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index. Read/write int.

Returns: int


getType

NameDescription
getType()Returns a type of background fill. Read/write BackgroundType.

Returns: byte


getVersion

NameDescription
getVersion()

Returns: long


setStyleIndex

NameDescription
setStyleIndex(int)Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index. Read/write int.

setType

NameDescription
setType(byte)Returns a type of background fill. Read/write BackgroundType.