IMathPortion
IMathPortion interface
表示内部有数学上下文的部分。
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);
}