MathematicalText
内容
[
隐藏
]MathematicalText()
默认构造函数(创建 String.Empty 值)
public MathematicalText()
例子
示例
[C#]
MathematicalText mathText = new MathematicalText();
也可以看看
- class MathematicalText
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides
MathematicalText(char)
使用单个符号创建 MathText
public MathematicalText(char mathSymbol)
范围 | 类型 | 描述 |
---|---|---|
mathSymbol | Char | 单个符号 |
例子
示例:
[C#]
MathematicalText mathText = new MathematicalText('$');
也可以看看
- class MathematicalText
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides
MathematicalText(string)
从文本创建 MathematicalText
public MathematicalText(string mathText)
范围 | 类型 | 描述 |
---|---|---|
mathText | String | 文本值 |
例子
示例:
[C#]
MathematicalText mathText = new MathematicalText("x+y");
也可以看看
- class MathematicalText
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides
MathematicalText(string, IPortionFormat)
从文本和格式设置创建 MathematicalText
public MathematicalText(string mathText, IPortionFormat portionFormat)
范围 | 类型 | 描述 |
---|---|---|
mathText | String | 文本值 |
portionFormat | IPortionFormat | 文本格式设置 |
例子
示例:
[C#]
IPortionFormat format = new PortionFormat() { FontHeight = 12 };
MathematicalText mathText = new MathematicalText("x+y", format);
也可以看看
- interface IPortionFormat
- class MathematicalText
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides