EffectFormat

Overview

EffectFormat is a class in Aspose.Slides FOSS for C++.

Represents effect properties of a shape (shadow, glow, blur, etc.).

Properties

NameTypeAccessDescription
IEffectParamSourceIEffectParamSourceReadReturns the associated IEffectParamSource instance

Methods

SignatureDescription
IEffectParamSource()IEffectParamSourceReturns the associated IEffectParamSource instance
init_internal(parent_element: pugi::xml_node, save_callback: std::function<void()>)Initialize XML-backed effect format. (e.g., ).
get_effect_lst()pugi::xml_nodeGet the element if it exists.
ensure_effect_lst()pugi::xml_nodeGet or create the element at the correct position in spPr.
get_effect_child(tag: std::string_view)pugi::xml_nodeGet a specific effect child from effectLst by tag name.
ensure_effect_child(tag: std::string_view)pugi::xml_nodeGet 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.
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.

See Also