IMathPortion

IMathPortion interface

Represents a portion with mathematical context inside.

public interface IMathPortion

Properties

Name Description
MathParagraph { get; } Math paragraph

Examples

Example:

[C#]
using (Presentation pres = new Presentation())
{
    IAutoShape shape = pres.Slides[0].Shapes.AddMathShape(0, 0, 300, 50);
    IParagraph paragraph = shape.TextFrame.Paragraphs[0];
    MathPortion mathPortion = new MathPortion();
    paragraph.Portions.Add(mathPortion);
}

See Also