JoinBlock

MathBlock.JoinBlock méthode

Joins un autre bloc mathématique avec celui-ci

public IMathBlock JoinBlock(IMathBlock other)
ParamètreTypeDescription
otherIMathBlockLe bloc à joindre

Valeur de retour

ce bloc mathématique après jonction

Exemples

Exemple :

[C#]
IMathBlock block1 = new MathSuperscriptElement(new MathematicalText("c"), new MathematicalText("2")).Join(new MathematicalText("="));
IMathBlock block2 = new MathSuperscriptElement(new MathematicalText("a"), new MathematicalText("2")).Join(new MathematicalText("+"))
.Join(new MathSuperscriptElement(new MathematicalText("b"), new MathematicalText("2")));
IMathBlock block3 = block1.JoinBlock(block2);

Voir aussi