Table of Contents

Class Diamond

Namespace
Openize.Slides
Assembly
Openize.OpenXMLSDK.dll

This class represents the Diamond shape within a slide.

public class Diamond
Inheritance
Diamond
Inherited Members

Constructors

Diamond()

Constructor of the Diamond class initializes the object of DiamondShapeFacade and populates its fields.

public Diamond()

Properties

Animation

Property to set animation

public AnimationType Animation { get; set; }

Property Value

AnimationType

BackgroundColor

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

public string BackgroundColor { get; set; }

Property Value

string

Facade

Property to get or set the DiamondShapeFacade.

public DiamondShapeFacade Facade { get; set; }

Property Value

DiamondShapeFacade

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

GetDiamonds(List<DiamondShapeFacade>)

Method for getting the list of Diamond shapes.

public static List<Diamond> GetDiamonds(List<DiamondShapeFacade> DiamondFacades)

Parameters

DiamondFacades List<DiamondShapeFacade>

A list of DiamondShapeFacade objects.

Returns

List<Diamond>

A list of Diamond objects.

Remove()

Method to remove the Diamond shape from a slide.

public void Remove()

Update()

Method to update Diamond shape.

public void Update()