Add
MathParagraph.Add méthode
Ajoute IMathBlock à la fin de la collection.
public void Add(IMathBlock mathBlock)
Paramètre | Type | Description |
---|---|---|
mathBlock | IMathBlock | Un 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 aussi
- interface IMathBlock
- classe MathParagraph
- espace de noms Aspose.Slides.MathText
- assembly Aspose.Slides