ToLatex
Méthode MathParagraph.ToLatex
Obtient l’équation mathématique au format LaTeX
public string ToLatex()
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 MathematicalText("a").Join("+").Join(new MathematicalText("b").Join("=").Join(new MathematicalText("c"))));
string mathLatex = mathParagraph.ToLatex();
Voir aussi
- class MathParagraph
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides