Insert

Méthode IMathBlockCollection.Insert

Insère IMathBlock dans la collection à l’index spécifié.

public void Insert(int index, IMathBlock item)
ParamètreTypeDescription
indexInt32L’index basé sur zéro au niveau duquel un élément doit être inséré.
itemIMathBlockL’IMathBlock à insérer.

Exemples

Exemple:

[C#]
IMathBlockCollection blockCollection = new MathParagraph();
IMathBlock block = new MathBlock(new MathematicalText("y"));
blockCollection.Insert(0, block);

Voir aussi