Table of Contents

Class Pentagon

Namespace
Openize.Slides
Assembly
Openize.OpenXMLSDK.dll

This class represents the rectangle shape within a slide.

public class Pentagon
Inheritance
Pentagon
Inherited Members

Constructors

Pentagon()

Constructor of the Pentagon class initializes the object of PentagonShapeFacade and populates its fields.

public Pentagon()

Properties

Animation

Property to set animation

public AnimationType Animation { get; set; }

Property Value

AnimationType

BackgroundColor

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

public string BackgroundColor { get; set; }

Property Value

string

Facade

Property to get or set the PentagonShapeFacade.

public PentagonFacade Facade { get; set; }

Property Value

PentagonFacade

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

GetPentagons(List<PentagonFacade>)

Method for getting the list of rectangle shapes.

public static List<Pentagon> GetPentagons(List<PentagonFacade> PentagonFacades)

Parameters

PentagonFacades List<PentagonFacade>

A list of PentagonShapeFacade objects.

Returns

List<Pentagon>

A list of Pentagon objects.

Remove()

Method to remove the rectangle shape from a slide.

public void Remove()

Update()

Method to update rectangle shape.

public void Update()