MathParagraph

Propiedad IMathPortion.MathParagraph

Párrafo matemático

public IMathParagraph MathParagraph { get; }  

Ejemplos

Ejemplo:

[C#]  
using (Presentation pres = new Presentation())  
{  
    IAutoShape shape = pres.Slides[0].Shapes.AddMathShape(0, 0, 300, 50);  
    IMathParagraph mathParagraph = (shape.TextFrame.Paragraphs[0].Portions[0] as MathPortion).MathParagraph;  
    mathParagraph.Add(new MathBlock(new MathematicalText("x+y")));  
}  

Véase también