IMathParagraph
IMathParagraph-Schnittstelle
Mathematischer Absatz, der ein Container für mathematische Blöcke (IMathBlock) ist
public interface IMathParagraph : IMathBlockCollection
Eigenschaften
Name | Beschreibung |
---|---|
AsIMathBlockCollection { get; } | Ermöglicht den Zugriff auf die basale IMathBlockCollection-Schnittstelle IMathBlockCollection |
Justification { get; set; } | Absatzjustierung Standardwert: ZentriertAlsGruppe |
Methoden
Name | Beschreibung |
---|---|
ToLatex() | Erhält mathematische Gleichung im LaTeX-Format |
WriteAsMathMl(Stream) | Speichert den Inhalt dieses IMathParagraph als MathML |
Beispiele
Beispiel:
[C#]
IAutoShape shape = slide.Shapes.AddMathShape(x, y, width, height);
IMathParagraph mathParagraph = (shape.TextFrame.Paragraphs[0].Portions[0] as MathPortion).MathParagraph;
mathParagraph.Justification = MathJustification.LeftJustified;
Siehe auch
- Schnittstelle IMathBlockCollection
- Namensraum Aspose.Slides.MathText
- Assembly Aspose.Slides