AddEffect
Contenido
[
Ocultar
]AddEffect(IShape, EffectType, EffectSubtype, EffectTriggerType)
Agrega un nuevo efecto al final de la secuencia.
public IEffect AddEffect(IShape shape, EffectType effectType, EffectSubtype subtype,
EffectTriggerType triggerType)
Parámetro | Tipo | Descripción |
---|---|---|
shape | IShape | Objeto shape IShape para agregar un efecto |
effectType | EffectType | Tipo de un efecto de animación EffectType |
subtype | EffectSubtype | Subtipos de efecto de animación EffectSubtype |
triggerType | EffectTriggerType | Tipo de activador del efecto EffectTriggerType |
Valor de Retorno
Nuevo objeto efecto IEffect
Ver También
- interface IEffect
- interface IShape
- enum EffectType
- enum EffectSubtype
- enum EffectTriggerType
- class Sequence
- namespace Aspose.Slides.Animation
- assembly Aspose.Slides
AddEffect(IParagraph, EffectType, EffectSubtype, EffectTriggerType)
Agrega un nuevo efecto de animación para el párrafo al final de la secuencia.
public IEffect AddEffect(IParagraph paragraph, EffectType effectType, EffectSubtype subtype,
EffectTriggerType triggerType)
Parámetro | Tipo | Descripción |
---|---|---|
paragraph | IParagraph | Objeto párrafo IParagraph |
effectType | EffectType | Tipo de un efecto de animación EffectType |
subtype | EffectSubtype | Subtipos de efecto de animación EffectSubtype |
triggerType | EffectTriggerType | Tipo de activador del efecto EffectTriggerType |
Valor de Retorno
Nuevo objeto efecto IEffect
Ejemplos
[C#]
using(Presentation presentation = new Presentation(path + "input.pptx"))
{
// seleccionar párrafo para agregar efecto
IAutoShape autoShape = (IAutoShape)presentation.Slides[0].Shapes[0];
IParagraph paragraph = autoShape.TextFrame.Paragraphs[0];
// agregar efecto de animación Fly al párrafo seleccionado
IEffect effect = presentation.Slides[0].Timeline.MainSequence.AddEffect(
paragraph, EffectType.Fly, EffectSubtype.Left, EffectTriggerType.OnClick);
}
Ver También
- interface IEffect
- interface IParagraph
- enum EffectType
- enum EffectSubtype
- enum EffectTriggerType
- class Sequence
- namespace Aspose.Slides.Animation
- assembly Aspose.Slides
AddEffect(IChart, EffectChartMajorGroupingType, int, EffectType, EffectSubtype, EffectTriggerType)
Agrega el nuevo efecto de animación de gráfico para categoría o serie al final de la secuencia.
public IEffect AddEffect(IChart chart, EffectChartMajorGroupingType type, int index,
EffectType effectType, EffectSubtype subtype, EffectTriggerType triggerType)
Parámetro | Tipo | Descripción |
---|---|---|
chart | IChart | Objeto gráfico IChart |
type | EffectChartMajorGroupingType | Tipo de un efecto de animación EffectChartMinorGroupingType |
index | Int32 | Índice Int32 |
effectType | EffectType | Tipo de un efecto de animación EffectType |
subtype | EffectSubtype | Subtipos de efecto de animación EffectSubtype |
triggerType | EffectTriggerType | Tipo de activador del efecto EffectTriggerType |
Valor de Retorno
Nuevo objeto efecto IEffect
Ver También
- interface IEffect
- interface IChart
- enum EffectChartMajorGroupingType
- enum EffectType
- enum EffectSubtype
- enum EffectTriggerType
- class Sequence
- namespace Aspose.Slides.Animation
- assembly Aspose.Slides
AddEffect(IChart, EffectChartMinorGroupingType, int, int, EffectType, EffectSubtype, EffectTriggerType)
Agrega el nuevo efecto de animación de gráfico para elementos en categoría o serie al final de la secuencia.
public IEffect AddEffect(IChart chart, EffectChartMinorGroupingType type, int seriesIndex,
int categoriesIndex, EffectType effectType, EffectSubtype subtype,
EffectTriggerType triggerType)
Parámetro | Tipo | Descripción |
---|---|---|
chart | IChart | Objeto gráfico IChart |
type | EffectChartMinorGroupingType | Tipo de un efecto de animación EffectChartMinorGroupingType |
seriesIndex | Int32 | Índice de serie de gráfico Int32 |
categoriesIndex | Int32 | Índice de categoría Int32 |
effectType | EffectType | Tipo de un efecto de animación EffectType |
subtype | EffectSubtype | Subtipos de efecto de animación EffectSubtype |
triggerType | EffectTriggerType | Tipo de activador del efecto EffectTriggerType |
Valor de Retorno
Nuevo objeto efecto IEffect
Ver También
- interface IEffect
- interface IChart
- enum EffectChartMinorGroupingType
- enum EffectType
- enum EffectSubtype
- enum EffectTriggerType
- class Sequence
- namespace Aspose.Slides.Animation
- assembly Aspose.Slides