AddEffect
Contenido
[
Ocultar
]AddEffect(IShape, EffectType, EffectSubtype, EffectTriggerType)
Añadir 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 de forma IShape para añadir 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 activación del efecto EffectTriggerType |
Valor de Retorno
Nuevo objeto de efecto IEffect
Ver También
- interfaz IEffect
- interfaz IShape
- enum EffectType
- enum EffectSubtype
- enum EffectTriggerType
- interfaz ISequence
- espacio de nombres Aspose.Slides.Animation
- ensamblado Aspose.Slides
AddEffect(IParagraph, EffectType, EffectSubtype, EffectTriggerType)
Añadir un nuevo efecto de animación para 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 activación del efecto EffectTriggerType |
Valor de Retorno
Nuevo objeto de efecto IEffect
Ejemplos
[C#]
using(Presentation presentation = new Presentation(path + "input.pptx"))
{
// seleccionar párrafo para añadir efecto
IAutoShape autoShape = (IAutoShape)presentation.Slides[0].Shapes[0];
IParagraph paragraph = autoShape.TextFrame.Paragraphs[0];
// añadir efecto de animación de vuelo al párrafo seleccionado
IEffect effect = presentation.Slides[0].Timeline.MainSequence.AddEffect(
paragraph, EffectType.Fly, EffectSubtype.Left, EffectTriggerType.OnClick);
}
Ver También
- interfaz IEffect
- interfaz IParagraph
- enum EffectType
- enum EffectSubtype
- enum EffectTriggerType
- interfaz ISequence
- espacio de nombres Aspose.Slides.Animation
- ensamblado Aspose.Slides
AddEffect(IChart, EffectChartMajorGroupingType, int, EffectType, EffectSubtype, EffectTriggerType)
Añade 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 activación del efecto EffectTriggerType |
Valor de Retorno
Nuevo objeto de efecto IEffect
Ver También
- interfaz IEffect
- interfaz IChart
- enum EffectChartMajorGroupingType
- enum EffectType
- enum EffectSubtype
- enum EffectTriggerType
- interfaz ISequence
- espacio de nombres Aspose.Slides.Animation
- ensamblado Aspose.Slides
AddEffect(IChart, EffectChartMinorGroupingType, int, int, EffectType, EffectSubtype, EffectTriggerType)
Añade 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 activación del efecto EffectTriggerType |
Valor de Retorno
Nuevo objeto de efecto IEffect
Ver También
- interfaz IEffect
- interfaz IChart
- enum EffectChartMinorGroupingType
- enum EffectType
- enum EffectSubtype
- enum EffectTriggerType
- interfaz ISequence
- espacio de nombres Aspose.Slides.Animation
- ensamblado Aspose.Slides