Failed to Extract the Animation Direction from Effect Options in C++

Hi,

I am looking for a solution to extract effect options direction.
For eg: Animation Float has direction options as:
Float up
Float down

Note: I have tried effect->get_Subtype() , which does not return correct direction for some effects

Could you please provide more information about which Aspose product you are using and the specific context of the effects you are trying to extract? This will help us provide a more accurate answer.

@pankajku,
I’ve reproduced the problem you described.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESCPP-3955

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@pankajku,
The issues you found earlier (filed as SLIDESCPP-3955) have been fixed in Aspose.Slides for C++ 24.9 (NuGet (x64), NuGet (x86), Windows, Linux, macOS).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.

@pankajku,
There are discrepancies with OpenXML in the PowerPoint user interface. There is no FloatIn effect with Up or Down subtypes, there are FloatUp and FloatDown effects. In earlier PowerPoint versions, the FloatUp effect was called Ascend, and FloatDown was called Descend (Ascend or Float Up? - The PowerPoint Blog). That’s why you observe this behavior.

To improve usability, we added aliases for Ascend (FloatUp) and Descend (FloatDown) in Aspose.Slides 24.9. When using the new types, please keep the following in mind:

auto presentation = System::MakeObject<Presentation>(u"sample.pptx");
auto firstSlide = presentation->get_Slide(0);
auto sequence = firstSlide->get_Timeline()->get_MainSequence();
auto shape = firstSlide->get_Shape(0);

auto shapeEffects = sequence->GetEffectsByShape(shape);
auto effect = shapeEffects->idx_get(0);

System::Console::WriteLine(u"{0}", effect->get_Type());
System::Console::WriteLine(u"{0}", effect->get_Subtype());
System::Console::WriteLine(u"{0}", effect->get_Type() == EffectType::Descend); // Should return 'true'
System::Console::WriteLine(u"{0}", effect->get_Type() == EffectType::FloatDown); // Should return 'true'