IMathParagraph

Interface IMathParagraph

Paragraphe mathématique qui est un conteneur pour des blocs mathématiques (IMathBlock)

public interface IMathParagraph : IMathBlockCollection

Propriétés

NomDescription
AsIMathBlockCollection { get; }Permet d’obtenir l’interface de base IMathBlockCollection IMathBlockCollection
Justification { get; set; }Justification du paragraphe Valeur par défaut : CenteredAsGroup

Méthodes

NomDescription
ToLatex()Obtient l’équation mathématique au format LaTeX
WriteAsMathMl(Stream)Enregistre le contenu de cet IMathParagraph en tant que MathML

Exemples

Exemple :

[C#]
IAutoShape shape = slide.Shapes.AddMathShape(x, y, width, height);
IMathParagraph mathParagraph = (shape.TextFrame.Paragraphs[0].Portions[0] as MathPortion).MathParagraph;
mathParagraph.Justification = MathJustification.LeftJustified;

Voir aussi