MathematicalText

MathematicalText class

数学文本

public sealed class MathematicalText : MathElementBase, IMathematicalText

Constructors

名称描述
MathematicalText()默认构造函数(创建 String.Empty 值)
MathematicalText(char)使用单个符号创建 MathText
MathematicalText(string)从文本创建 MathematicalText
MathematicalText(string, IPortionFormat)从文本和格式设置创建 MathematicalText

Properties

名称描述
Format { get; }文本格式属性
Value { get; set; }文本值

Methods

名称描述
Accent(char)设置一个强调符号(在此元素顶部的字符)
AsArgumentOfFunction(IMathElement)使用此实例作为参数获取指定的函数
AsArgumentOfFunction(MathFunctionsOfOneArgument)使用此实例作为参数获取指定的函数
AsArgumentOfFunction(string)使用此实例作为参数获取指定的函数
AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)使用此实例作为参数和指定的附加参数获取指定的函数
AsArgumentOfFunction(MathFunctionsOfTwoArguments, string)使用此实例作为参数和指定的附加参数获取指定的函数
Divide(IMathElement)创建一个带有此分子和指定分母的分数
Divide(string)创建一个带有此分子和指定分母的分数
Divide(IMathElement, MathFractionTypes)创建一个具有指定类型的分数,带有此分子和指定分母
Divide(string, MathFractionTypes)创建一个具有指定类型的分数,带有此分子和指定分母
Enclose()用括号包围数学元素
virtual Enclose(char, char)用指定字符如括号或其他字符作为框架包围数学元素
Function(IMathElement)使用此实例作为函数名获取一个参数的函数
Function(string)使用此实例作为函数名获取一个参数的函数
Group()使用底部花括号将此元素放在一个组中
Group(char, MathTopBotPositions, MathTopBotPositions)使用如底部花括号或其他分组字符将此元素放在一个组中
Integral(MathIntegralTypes)获取没有限制的积分
Integral(MathIntegralTypes, IMathElement, IMathElement)获取积分
Integral(MathIntegralTypes, string, string)获取积分
Integral(MathIntegralTypes, IMathElement, IMathElement, MathLimitLocations)获取积分
Integral(MathIntegralTypes, string, string, MathLimitLocations)获取积分
virtual Join(IMathElement)连接一个数学元素并形成一个数学块
virtual Join(string)连接一个数学文本并形成一个数学块
Nary(MathNaryOperatorTypes, IMathElement, IMathElement)创建一个 N-元运算符
Nary(MathNaryOperatorTypes, string, string)创建一个 N-元运算符
Overbar()在此元素的顶部设置一条线
Radical(IMathElement)从指定参数中指定给定度的数学根。
Radical(string)从指定参数中指定给定度的数学根。
SetLowerLimit(IMathElement)获取下限
SetLowerLimit(string)获取下限
SetSubscript(IMathElement)创建下标
SetSubscript(string)创建下标
SetSubSuperscriptOnTheLeft(IMathElement, IMathElement)在左侧创建下标和上标
SetSubSuperscriptOnTheLeft(string, string)在左侧创建下标和上标
SetSubSuperscriptOnTheRight(IMathElement, IMathElement)在右侧创建下标和上标
SetSubSuperscriptOnTheRight(string, string)在右侧创建下标和上标
SetSuperscript(IMathElement)创建上标
SetSuperscript(string)创建上标
SetUpperLimit(IMathElement)获取上限
SetUpperLimit(string)获取上限
ToBorderBox()将此元素放置在边框盒中
ToBorderBox(bool, bool, bool, bool, bool, bool, bool, bool)将此元素放置在边框盒中
ToBox()将此元素放置在一个非视觉框(逻辑分组)中,用于分组方程或其他数学文本的组件。一个框对象可以(例如)作为一个运算符模拟器,带有或不带有对齐点,作为换行点,或分组以禁止换行。
virtual ToMathArray()放入垂直数组中
Underbar()在此元素的底部设置一条线

Examples

示例:

[C#]
MathematicalText mathText = new MathematicalText("x+y");

See Also