SetUpperLimit
SetUpperLimit(IMathElement)
接受上限
public IMathLimit SetUpperLimit(IMathElement limit)
参数 | 类型 | 描述 |
---|---|---|
limit | IMathElement | limit |
返回值
类型为 IMathLimit
的新实例
示例
示例:
[C#]
IMathElement baseElement = new MathematicalText("y");
IMathElement limitValue = new MathematicalText("y−>1");
var limitElement = baseElement.SetUpperLimit(limitValue);
另见
SetUpperLimit(string)
接受上限
public IMathLimit SetUpperLimit(string limit)
参数 | 类型 | 描述 |
---|---|---|
limit | String | limit |
返回值
类型为 IMathLimit
的新实例
示例
示例:
[C#]
IMathElement baseElement = new MathematicalText("y");
var limitElement = baseElement.SetUpperLimit("y−>1");