Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Tue Sep 12, 2023 3:12 am

In API that only can find the property to set the timing but can't cancel this checkbox.
Code: Select all
      ppt.Slides[0].SlideShowTransition.AdvanceOnClick = true;
                ppt.Slides[0].SlideShowTransition.AdvanceAfterTime = 100000;



Code: Select all
 public class SlideShowTransition
    {
        public byte[] WavData { get; set; }
        public TransitionSoundMode SoundMode { get; set; }
        public bool BuiltInSound { get; set; }
        public bool Loop { get; set; }
        public bool AdvanceOnClick { get; set; }
        public uint AdvanceAfterTime { get; set; }
        public TransitionSpeed Speed { get; set; }
        public uint Duration { get; set; }
        public Transition Value { get; }
        public TransitionType Type { get; set; }
        public object Option { get; set; }

        public override bool Equals(object obj);
    }

It seems there's no related property can change, is there anyone know how to solve?

AliceSun0706
 
Posts: 4
Joined: Sun Mar 19, 2023 3:06 am

Tue Sep 12, 2023 6:21 am

Hi,

Thank you for reaching out to us with your inquiry regarding our PPT product and its API capabilities for canceling the "After" checkbox in PowerPoint transitions.

We would like to inform you that the behavior you mentioned regarding the "After" checkbox is consistent with PowerPoint's default functionality. When manually setting a specific time in PowerPoint, the "After" checkbox is automatically selected. However, if a time of 0 is set while the checkbox is selected, reopening the document will show the checkbox as deselected.

Similarly, our PPT product is designed to align with PowerPoint's behavior, ensuring consistency in the effects and features offered.

If you have any further questions or require additional assistance, please feel free to reach out to us. We are here to support you.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Tue Sep 12, 2023 8:11 am

Thanks for the promptly response.

Maybe I made incorrect description, I mean how to unclick 'After' checkbox in default by coding. Is there any ways?

AliceSun0706
 
Posts: 4
Joined: Sun Mar 19, 2023 3:06 am

Tue Sep 12, 2023 8:33 am

Hi,

Thanks for your feedback.
Currently, there is no way to achieve this. But if you need, we can create a new feature to our upgrade-list, when it is implemented, we will notify you asap.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Tue Sep 12, 2023 8:44 am

I'm really appreciate of it. Thank you so much and looking forward the new features.

AliceSun0706
 
Posts: 4
Joined: Sun Mar 19, 2023 3:06 am

Tue Sep 12, 2023 9:59 am

Hi,

Thanks for your reply.
I have created a new feature with the ticket number SPIREPPT- 2351, our dev team will investigate and implement it, once it is implemented, I will inform you asap.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Wed Sep 27, 2023 9:13 am

Hi,

Thanks for your patience.
Glad to inform you thar we just released Spire.Presentation 8.9.4 hotfix, which has implemented the new feature SPIREPPT-2351.
Code: Select all
       
            Presentation ppt = new Presentation();
            ppt.LoadFromFile("input.pptx");
            ppt.Slides[0].SlideShowTransition.AdvanceAfterTime = 1000;
            ppt.Slides[1].SlideShowTransition.SelectedAdvanceAfterTime = false;
            ppt.SaveToFile("output.pptx", FileFormat.Pptx2013);
            ppt.Dispose();


Please download from the following link and have a test.
Website link: https://www.e-iceblue.com/Download/download-presentation-for-net-now.html

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Wed Sep 27, 2023 9:32 am

Thank you so.......o much for your help. I will try. :D

AliceSun0706
 
Posts: 4
Joined: Sun Mar 19, 2023 3:06 am

Thu Sep 28, 2023 1:58 am

Hi,

Thanks for your reply.
If you have any other questions, just feel free to contact us. We are here to assist you.

Have a nice day!

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.Presentation