ThemeFormatScheme Class
Defines the format scheme for a presentation theme.
Declaration
public class ThemeFormatScheme extends PresentationObject
Remarks
A theme format scheme specifies the visual formatting properties applied to objects in a presentation, including fills, background fills, line styles, and effects. These properties define the appearance of shapes, text boxes, and other presentation elements.
Use the getFills() and getBackgroundFills() properties to define fill styles for presentation objects. Each collection must contain at least three elements.
Inherited Members
Inheritance
ThemeFormatScheme()
Initializes a new instance of the ThemeFormatScheme class.
Declaration
public ThemeFormatScheme()
Methods
deepClone() Method
Clones the current ThemeFormatScheme instance.
Declaration
public ThemeFormatScheme deepClone()
Returns
| Type | Description |
|---|---|
ThemeFormatScheme |
The cloned |
getBackgroundFills() Method
Returns the collection of background fill styles.
Declaration
public IThemeBackgroundFillCollection getBackgroundFills()
Returns
| Type | Description |
|---|---|
| IThemeBackgroundFillCollection | A collection of background fill styles. |
Remarks
This collection defines fill styles applied to slide backgrounds and other background elements. The collection must contain at least three fill elements.
Note
Background fill colors in this collection cannot reference theme colors.
getEffects() Method
Returns the collection of visual effects for presentation objects.
Declaration
public IThemeEffectCollection getEffects()
Returns
| Type | Description |
|---|---|
| IThemeEffectCollection | A collection of visual effects. |
getFills() Method
Returns the collection of fill styles for presentation objects.
Declaration
public IThemeFillCollection getFills()
Returns
| Type | Description |
|---|---|
| IThemeFillCollection | A collection of fill styles. |
Remarks
This collection defines fill styles applied to shapes and other presentation objects. The collection must contain at least three fill elements.
Note
Fill colors in this collection cannot reference theme colors.
getLineStyles() Method
Returns the collection of line styles for presentation objects.
Declaration
public IThemeLineStyleCollection getLineStyles()
Returns
| Type | Description |
|---|---|
| IThemeLineStyleCollection | A collection of line styles. |
getName() Method
Returns the format scheme name.
Declaration
public String getName()
Returns
| Type | Description |
|---|---|
| String | A format scheme name. |
setName(String value) Method
Sets the format scheme name.
Declaration
public void setName(String value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | String | A format scheme name. |