Clear
MathParagraph.Clear method
Supprime tous les éléments de la collection.
public void Clear()
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("block1")));
mathParagraph.Add(new MathBlock(new MathematicalText("block2")));
mathParagraph.Clear();
Voir également
- class MathParagraph
- espace de noms Aspose.Slides.MathText
- Assemblée Aspose.Slides