SetSubSuperscriptOnTheRight

SetSubSuperscriptOnTheRight(IMathElement, IMathElement)

Создает нижний и верхний индексы справа

public IMathRightSubSuperscriptElement SetSubSuperscriptOnTheRight(IMathElement subscript, 
    IMathElement superscript)
ПараметрТипОписание
subscriptIMathElementНижний индекс (нижний индекс справа)
верхнийиндексIMathElementВерхний индекс (верхний индекс справа)

Возвращаемое значение

Новый математический элемент типаIMathRightSubSuperscriptElement

Примеры

Пример:

[C#]
IMathElement baseElement = new MathematicalText("N");
IMathElement subscript = new MathematicalText("i");
IMathElement superscript = new MathematicalText("j");
IMathRightSubSuperscriptElement subsuperscript = baseElement.SetSubSuperscriptOnTheRight(subscript, superscript);

Смотрите также


SetSubSuperscriptOnTheRight(string, string)

Создает нижний и верхний индексы справа

public IMathRightSubSuperscriptElement SetSubSuperscriptOnTheRight(string subscript, 
    string superscript)
ПараметрТипОписание
subscriptStringНижний индекс (нижний индекс справа)
верхнийиндексStringВерхний индекс (верхний индекс справа)

Возвращаемое значение

Новый математический элемент типаIMathRightSubSuperscriptElement

Примеры

Пример:

[C#]
IMathElement baseElement = new MathematicalText("N");
IMathRightSubSuperscriptElement subsuperscript = baseElement.SetSubSuperscriptOnTheRight("i", "j");

Смотрите также