IMathParagraph
IMathParagraph interfaz
Párrafo matemático que es un contenedor para bloques matemáticos (IMathBlock)
public interface IMathParagraph : IMathBlockCollection
Propiedades
| Nombre | Descripción |
|---|---|
| AsIMathBlockCollection { get; } | Permite obtener la interfaz base IMathBlockCollection IMathBlockCollection |
| Justification { get; set; } | Justificación del párrafo Valor predeterminado: CenteredAsGroup |
Métodos
| Nombre | Descripción |
|---|---|
| ToLatex() | Obtiene la ecuación matemática en formato LaTeX |
| WriteAsMathMl(Stream) | Guarda el contenido de este IMathParagraph como MathML |
Ejemplos
Ejemplo:
[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;
Ver también
- interface IMathBlockCollection
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides