public interface ITiming
Represents animation timing.
| Modifier and Type | Method and Description |
|---|---|
float |
getAccelerate()
Describes the percentage of duration accelerate behavior effect.
|
boolean |
getAutoReverse()
Describes whether to automatically play the animation in reverse after
playing it in the forward direction.
|
float |
getDecelerate()
Describes the percentage of duration decelerate behavior effect.
|
float |
getDuration()
Describes the duration of animation effect.
|
float |
getRepeatCount()
Describes the number of times the effect should repeat.
|
float |
getRepeatDuration()
Describes the number of times the effect should repeat.
|
boolean |
getRepeatUntilEndSlide()
This attribute specifies if the effect will repeat until the end of the slide.
|
boolean |
getRepeatUntilNextClick()
This attribute specifies if the effect will repeat until the next click.
|
int |
getRestart()
Specifies if a effect is to restart after complete.
|
boolean |
getRewind()
This attribute specifies if the effect will rewind when done playing.
|
float |
getSpeed()
Specifies the percentage by which to speed up (or slow down) the timing.
|
float |
getTriggerDelayTime()
Describes delay time after trigger.
|
int |
getTriggerType()
Describes trigger type.
|
void |
setAccelerate(float value)
Describes the percentage of duration accelerate behavior effect.
|
void |
setAutoReverse(boolean value)
Describes whether to automatically play the animation in reverse after
playing it in the forward direction.
|
void |
setDecelerate(float value)
Describes the percentage of duration decelerate behavior effect.
|
void |
setDuration(float value)
Describes the duration of animation effect.
|
void |
setRepeatCount(float value)
Describes the number of times the effect should repeat.
|
void |
setRepeatDuration(float value)
Describes the number of times the effect should repeat.
|
void |
setRepeatUntilEndSlide(boolean value)
This attribute specifies if the effect will repeat until the end of the slide.
|
void |
setRepeatUntilNextClick(boolean value)
This attribute specifies if the effect will repeat until the next click.
|
void |
setRestart(int value)
Specifies if a effect is to restart after complete.
|
void |
setRewind(boolean value)
This attribute specifies if the effect will rewind when done playing.
|
void |
setSpeed(float value)
Specifies the percentage by which to speed up (or slow down) the timing.
|
void |
setTriggerDelayTime(float value)
Describes delay time after trigger.
|
void |
setTriggerType(int value)
Describes trigger type.
|
float getAccelerate()
Describes the percentage of duration accelerate behavior effect.
Read/write float.
void setAccelerate(float value)
Describes the percentage of duration accelerate behavior effect.
Read/write float.
float getDecelerate()
Describes the percentage of duration decelerate behavior effect.
Read/write float.
void setDecelerate(float value)
Describes the percentage of duration decelerate behavior effect.
Read/write float.
boolean getAutoReverse()
Describes whether to automatically play the animation in reverse after
playing it in the forward direction.
Read/write boolean.
void setAutoReverse(boolean value)
Describes whether to automatically play the animation in reverse after
playing it in the forward direction.
Read/write boolean.
float getDuration()
Describes the duration of animation effect.
Read/write float.
void setDuration(float value)
Describes the duration of animation effect.
Read/write float.
float getRepeatCount()
Describes the number of times the effect should repeat.
Read/write float.
void setRepeatCount(float value)
Describes the number of times the effect should repeat.
Read/write float.
boolean getRepeatUntilEndSlide()
This attribute specifies if the effect will repeat until the end of the slide.
Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Change the effect Timing/Repeat to "Until End of Slide" effect.getTiming().setRepeatUntilEndSlide(true); } finally { if (presentation != null) presentation.dispose(); }
void setRepeatUntilEndSlide(boolean value)
This attribute specifies if the effect will repeat until the end of the slide.
Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Change the effect Timing/Repeat to "Until End of Slide" effect.getTiming().setRepeatUntilEndSlide(true); } finally { if (presentation != null) presentation.dispose(); }
boolean getRepeatUntilNextClick()
This attribute specifies if the effect will repeat until the next click. Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Change the effect Timing/Repeat to "Until Next Click" effect.getTiming().setRepeatUntilNextClick(true); } finally { if (presentation != null) presentation.dispose(); }
void setRepeatUntilNextClick(boolean value)
This attribute specifies if the effect will repeat until the next click.
Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Change the effect Timing/Repeat to "Until Next Click" effect.getTiming().setRepeatUntilNextClick(true); } finally { if (presentation != null) presentation.dispose(); }
float getRepeatDuration()
Describes the number of times the effect should repeat.
Read/write float.
void setRepeatDuration(float value)
Describes the number of times the effect should repeat.
Read/write float.
int getRestart()
Specifies if a effect is to restart after complete.
Read/write EffectRestartType.
void setRestart(int value)
Specifies if a effect is to restart after complete.
Read/write EffectRestartType.
float getSpeed()
Specifies the percentage by which to speed up (or slow down) the timing.
Read/write float.
void setSpeed(float value)
Specifies the percentage by which to speed up (or slow down) the timing.
Read/write float.
float getTriggerDelayTime()
Describes delay time after trigger.
Read/write float.
void setTriggerDelayTime(float value)
Describes delay time after trigger.
Read/write float.
int getTriggerType()
Describes trigger type.
Read/write EffectTriggerType.
void setTriggerType(int value)
Describes trigger type.
Read/write EffectTriggerType.
boolean getRewind()
This attribute specifies if the effect will rewind when done playing.
Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Turn the effect Timing/Rewind on. effect.getTiming().setRewind(true); } finally { if (presentation != null) presentation.dispose(); }
void setRewind(boolean value)
This attribute specifies if the effect will rewind when done playing.
Read/write boolean.
Presentation presentation = new Presentation("demo.pptx"); try { // Get the effects sequence for the first slide ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence(); // Get the first effect of main sequence. IEffect effect = effectsSequence.get_Item(0); // Turn the effect Timing/Rewind on. effect.getTiming().setRewind(true); } finally { if (presentation != null) presentation.dispose(); }
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.