JoinBlock

MathBlock.JoinBlock-Methode

Fügt einen anderen mathematischen Block mit diesem zusammen

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

Rückgabewert

Dieser mathematische Block nach dem Verbinden

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