JoinBlock

IMathBlock.JoinBlock Methode

Verbindet einen anderen mathematischen Block mit diesem

public IMathBlock JoinBlock(IMathBlock other)
ParameterTypBeschreibung
otherIMathBlockDer zu verbindende Block

Rückgabewert

Dieser mathematische Block nach der Verbindung

Beispiele

Beispiel:

[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);

Siehe auch