Please accept my apologies for delayed response. I have observed your requirement and request you to please sharing a PowerPoint presentation with desired animation effect on the shape that you want to achieve. I will investigate the requirements further on my end to help you out.
I have observed your requirement for Disappear effect and regret to share that at present it is not supported. An issue with ID SLIDESJAVA-35643 has been created in our issue tracking system to provide the requested support. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed. For the time being you may try using following exit effect if it suits you.
public static void TestAnimation()
String path = “C:\Aspose Data\”;
Presentation presentation = new Presentation();
ISlide slide = presentation.getSlides().get_Item(0);
// Add Picture Frame with height and width equivalent of Picture
IAutoShape ashp = slide.getShapes().addAutoShape(ShapeType.Rectangle, 50, 150, 200, 150);
//Create sequence of effects for this button.
IEffect seqInter = presentation.getSlides().get_Item(0).getTimeline().getMainSequence().addEffect(ashp, EffectType.Dissolve, EffectSubtype.None, EffectTriggerType.OnClick);
// Write the PPTX file to disk
presentation.save(path + “RectPicFrame.pptx”, SaveFormat.Pptx);