Table of Contents

Class Triangle

Namespace
Openize.Slides
Assembly
Openize.OpenXMLSDK.dll

This class represents the Triangle shape within a slide.

public class Triangle
Inheritance
Triangle
Inherited Members

Constructors

Triangle()

Constructor of the Triangle class initializes the object of TriangleShapeFacade and populates its fields.

public Triangle()

Properties

Animation

Property to set animation

public AnimationType Animation { get; set; }

Property Value

AnimationType

BackgroundColor

Property to set or get background color of a Triangle shape.

public string BackgroundColor { get; set; }

Property Value

string

Facade

Property to get or set the TriangleShapeFacade.

public TriangleShapeFacade Facade { get; set; }

Property Value

TriangleShapeFacade

Height

Property to get or set height of the shape.

public double Height { get; set; }

Property Value

double

ShapeIndex

Property to get or set the shape index within a slide.

public int ShapeIndex { get; set; }

Property Value

int

Width

Property to get or set width of the shape.

public double Width { get; set; }

Property Value

double

X

Property to get or set X coordinate of the shape.

public double X { get; set; }

Property Value

double

Y

Property to get or set Y coordinate of the shape.

public double Y { get; set; }

Property Value

double

Methods

GetTriangles(List<TriangleShapeFacade>)

Method for getting the list of Triangle shapes.

public static List<Triangle> GetTriangles(List<TriangleShapeFacade> TriangleFacades)

Parameters

TriangleFacades List<TriangleShapeFacade>

A list of TriangleShapeFacade objects.

Returns

List<Triangle>

A list of Triangle objects.

Remove()

Method to remove the Triangle shape from a slide.

public void Remove()

Update()

Method to update Triangle shape.

public void Update()