EffectFormat
Overview
EffectFormat is a class in Aspose.Slides FOSS for C++.
Represents effect properties of a shape (shadow, glow, blur, etc.).
This class provides 37 methods for working with EffectFormat objects in C++ programs.
Available methods include: EffectFormat, IEffectParamSource, as_i_effect_param_source, blur_effect, disable_blur_effect, disable_fill_overlay_effect, disable_glow_effect, disable_inner_shadow_effect, disable_outer_shadow_effect, disable_preset_shadow_effect, disable_reflection_effect, disable_soft_edge_effect, and 25 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: IEffectParamSource.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
IEffectParamSource | IEffectParamSource | Read | Gets the i effect param source. |
Methods
| Signature | Description |
|---|---|
IEffectParamSource() → IEffectParamSource | Returns the associated IEffectParamSource instance |
EffectFormat() | |
~EffectFormat() | |
init_internal(parent_element: pugi::xml_node, save_callback: std::function<void()>) | Initialize XML-backed effect format. (e.g., ). |
get_effect_lst() → pugi::xml_node | Get the element if it exists. |
ensure_effect_lst() → pugi::xml_node | Get or create the element at the correct position in spPr. |
get_effect_child(tag: std::string_view) → pugi::xml_node | Get a specific effect child from effectLst by tag name. |
ensure_effect_child(tag: std::string_view) → pugi::xml_node | Get or create a specific effect child in effectLst at the correct position. |
remove_effect_child(tag: std::string_view) | Remove a specific effect child from effectLst. |
save() | Save changes via the save callback. |
serialize_to_xml(sp_pr: pugi::xml_node) | Serialize all in-memory effects into an XML under the given spPr node. |
is_no_effects() → bool | Returns true if all effects are disabled. |
blur_effect() → Effects::Blur | Returns the blur effect, or nullptr if disabled. |
fill_overlay_effect() → Effects::FillOverlay | Returns the fill overlay effect, or nullptr if disabled. |
glow_effect() → Effects::Glow | Returns the glow effect, or nullptr if disabled. |
inner_shadow_effect() → Effects::InnerShadow | Returns the inner shadow effect, or nullptr if disabled. |
outer_shadow_effect() → Effects::OuterShadow | Returns the outer shadow effect, or nullptr if disabled. |
preset_shadow_effect() → Effects::PresetShadow | Returns the preset shadow effect, or nullptr if disabled. |
reflection_effect() → Effects::Reflection | Returns the reflection effect, or nullptr if disabled. |
soft_edge_effect() → Effects::SoftEdge | Returns the soft edge effect, or nullptr if disabled. |
set_blur_effect(radius: double, grow: bool) | Sets the blur effect with given radius and grow flag. |
enable_fill_overlay_effect() | Enables the fill overlay effect. |
enable_glow_effect() | Enables the glow effect. |
enable_inner_shadow_effect() | Enables the inner shadow effect. |
enable_outer_shadow_effect() | Enables the outer shadow effect. |
enable_preset_shadow_effect() | Enables the preset shadow effect. |
enable_reflection_effect() | Enables the reflection effect. |
enable_soft_edge_effect() | Enables the soft edge effect. |
disable_blur_effect() | Disables the blur effect. |
disable_fill_overlay_effect() | Disables the fill overlay effect. |
disable_glow_effect() | Disables the glow effect. |
disable_inner_shadow_effect() | Disables the inner shadow effect. |
disable_outer_shadow_effect() | Disables the outer shadow effect. |
disable_preset_shadow_effect() | Disables the preset shadow effect. |
disable_reflection_effect() | Disables the reflection effect. |
disable_soft_edge_effect() | Disables the soft edge effect. |
as_i_effect_param_source() → IEffectParamSource | Returns this object as IEffectParamSource. |