IMathParagraph

IMathParagraph interfaz

Párrafo matemático que es un contenedor para bloques matemáticos (IMathBlock)

public interface IMathParagraph : IMathBlockCollection

Propiedades

NombreDescripción
AsIMathBlockCollection { get; }Permite obtener la interfaz base IMathBlockCollection IMathBlockCollection
Justification { get; set; }Justificación del párrafo Valor predeterminado: CenteredAsGroup

Métodos

NombreDescripció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