GetEffective
Método ParagraphFormat.GetEffective
Obtiene datos de formato de párrafo efectivo con la herencia aplicada.
public IParagraphFormatEffectiveData GetEffective()
Valor de retorno
Un IParagraphFormatEffectiveData
.
Ejemplos
Este ejemplo demuestra cómo obtener algunas propiedades del formato de párrafo efectivo.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
IAutoShape shape = pres.Slides[0].Shapes[0] as IAutoShape;
IParagraphFormatEffectiveData effectiveParagraphFormat = shape.TextFrame.Paragraphs[0].ParagraphFormat.GetEffective();
Console.WriteLine("Alineación del texto: " + effectiveParagraphFormat.Alignment);
Console.WriteLine("Indentación: " + effectiveParagraphFormat.Indent);
Console.WriteLine("Tipo de viñeta: " + effectiveParagraphFormat.Bullet.Type);
}
Ver También
- interfaz IParagraphFormatEffectiveData
- clase ParagraphFormat
- espacio de nombres Aspose.Slides
- ensamblado Aspose.Slides