SetUpperLimit

SetUpperLimit(IMathElement)

接受上限

public IMathLimit SetUpperLimit(IMathElement limit)
参数类型描述
limitIMathElementlimit

返回值

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

返回值

类型为 IMathLimit 的新实例

示例

示例:

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

另见