Table of Contents

Class Trapezoid

Namespace
Openize.Slides
Assembly
Openize.OpenXMLSDK.dll

This class represents the rectangle shape within a slide.

public class Trapezoid
Inheritance
Trapezoid
Inherited Members

Constructors

Trapezoid()

Constructor of the Trapezoid class initializes the object of TrapezoidShapeFacade and populates its fields.

public Trapezoid()

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 TrapezoidShapeFacade.

public TrapezoidFacade Facade { get; set; }

Property Value

TrapezoidFacade

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

GetTrapezoids(List<TrapezoidFacade>)

Method for getting the list of rectangle shapes.

public static List<Trapezoid> GetTrapezoids(List<TrapezoidFacade> TrapezoidFacades)

Parameters

TrapezoidFacades List<TrapezoidFacade>

A list of TrapezoidShapeFacade objects.

Returns

List<Trapezoid>

A list of Trapezoid objects.

Remove()

Method to remove the rectangle shape from a slide.

public void Remove()

Update()

Method to update rectangle shape.

public void Update()