JoinBlock

MathBlock.JoinBlock method

Verbindet einen anderen mathematischen Block mit diesem

public IMathBlock JoinBlock(IMathBlock other)
ParameterTypBeschreibung
otherIMathBlockDer Verbindungsblock

Rückgabewert

diesen mathematischen 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