IMathPortion

IMathPortion 接口

表示具有数学上下文的部分。

public interface IMathPortion

属性

名称描述
MathParagraph { get; }数学段落

示例

示例:

[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);
}

另请参阅