Agregar forma Shapes are a fundamental element in PowerPoint, helping to structure content, emphasize key points, and enhance visual appeal. Using shapes effectively allows presenters to organize information, create diagrams, and guide the audience's attention. Whether it's arrows for direction, rectangles for text boxes, or circles for highlighting, shapes make presentations more engaging and professional. With IronPPT, developers can seamlessly integrate and modify shapes, giving them complete control over their PowerPoint slides. This flexibility enables dynamic, polished presentations that effectively communicate ideas and leave a lasting impact. 5-Step Code to Add Shapes Shape shape = new Shape(); shape.Type = IronPPT.Enums.ShapeType.Triangle; shape.Width = 100; shape.OutlineColor = Color.Black; shape.Position = (200, 200); Code Explanation To add a new shape to our empty PowerPoint presentation, we start by creating a new Shape object using the constructor. Next, we define the type of shape we want to create by modifying the Type property and assigning it one of the values from the ShapeType enum. For example, to create a triangle, we would set the Type to ShapeType.Triangle. After that, we can set the dimensions of the shape by assigning an integer value to the Width property, which specifies the shape's width. To customize the appearance of the shape, we can adjust the OutlineColor property; for this example, we will set the color to black. Finally, we position the shape on the slide by specifying the x and y coordinates, which in this case will be set to (200, 200). This places the shape at the desired location within the presentation. Learn to Manage Slides with IronPPT Enlaces de Documentos Ver en Github Tutorial Relacionado Guía de Cómo Hacer Relacionada Documentación de Clase Paquetes de Idioma OCR Descargar IronPPT DLL Reportar un problema en esta página ¿Listo para empezar? Nuget Descargas 3,171 | Versión: 2025.11 recién lanzado Descarga Gratis de NuGet Descargas totales: 3,171 Ver Licencias
Producto completamente funcional Obtén 30 días de producto completamente funcional.Instálalo y ejecútalo en minutos.
Soporte técnico 24/5 Acceso completo a nuestro equipo de soporte técnico durante tu prueba del producto
Producto completamente funcional Obtén 30 días de producto completamente funcional.Instálalo y ejecútalo en minutos.
Soporte técnico 24/5 Acceso completo a nuestro equipo de soporte técnico durante tu prueba del producto