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

NameTypeAccessDescription
IEffectParamSourceIEffectParamSourceReadGets the i effect param source.

Methods

SignatureDescription
IEffectParamSource()IEffectParamSourceReturns 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_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.
is_no_effects()boolReturns true if all effects are disabled.
blur_effect()Effects::BlurReturns the blur effect, or nullptr if disabled.
fill_overlay_effect()Effects::FillOverlayReturns the fill overlay effect, or nullptr if disabled.
glow_effect()Effects::GlowReturns the glow effect, or nullptr if disabled.
inner_shadow_effect()Effects::InnerShadowReturns the inner shadow effect, or nullptr if disabled.
outer_shadow_effect()Effects::OuterShadowReturns the outer shadow effect, or nullptr if disabled.
preset_shadow_effect()Effects::PresetShadowReturns the preset shadow effect, or nullptr if disabled.
reflection_effect()Effects::ReflectionReturns the reflection effect, or nullptr if disabled.
soft_edge_effect()Effects::SoftEdgeReturns 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()IEffectParamSourceReturns this object as IEffectParamSource.

See Also