Insert
MathBlock.Insert method
Insère un MathElement dans la collection à l’index spécifié.
public void Insert(int index, IMathElement item)
Paramètre | Taper | La description |
---|---|---|
index | Int32 | Index de base zéro auquel MathElement doit être inséré. |
item | IMathElement | MathElement à insérer. |
Exemples
Exemple :
[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")));
Voir également
- interface IMathElement
- class MathBlock
- espace de noms Aspose.Slides.MathText
- Assemblée Aspose.Slides