Insert
MathBlock.Insert method
Inserta un MathElement en la colección en el índice especificado.
public void Insert(int index, IMathElement item)
Parámetro | Escribe | Descripción |
---|---|---|
index | Int32 | El índice de base cero en el que se debe insertar MathElement. |
item | IMathElement | El MathElement a insertar. |
Ejemplos
Ejemplo:
[C#]
MathBlock mathBlock = new MathBlock(new MathematicalText("x"));
MathematicalText plusElement = new MathematicalText("+");
mathBlock.Add(plusElement);
mathBlock.Insert(0, new MathRadical(new MathematicalText("x"), new MathematicalText("3")));
Ver también
- interface IMathElement
- class MathBlock
- espacio de nombres Aspose.Slides.MathText
- asamblea Aspose.Slides