SetUpperLimit

SetUpperLimit(IMathElement)

取上限

public IMathLimit SetUpperLimit(IMathElement limit)
参数类型描述
limitIMathElement上限

返回值

类型为 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)
参数类型描述
limitString上限

返回值

类型为 IMathLimit 的新实例

示例

示例:

[C#]
IMathElement baseElement = new MathematicalText("y");
var limitElement = baseElement.SetUpperLimit("y−>1");

另见