Add

MathParagraph.Add method

Ajoute IMathBlock à la fin de la collection.

public void Add(IMathBlock mathBlock)
ParamètreTaperLa description
mathBlockIMathBlockUn bloc mathématique qui sera ajouté à la fin de la collection

Exemples

Exemple :

[C#]
IAutoShape shape = slide.Shapes.AddMathShape(x, y, width, height);
IMathParagraph mathParagraph = (shape.TextFrame.Paragraphs[0].Portions[0] as MathPortion).MathParagraph;
mathParagraph.Add(new MathBlock(new MathematicalText("x")));

Voir également