Table of Contents

Class RectangleCollection

Namespace
Spire.Xls.Core.Spreadsheet.Collections
Assembly
Spire.XLS.dll
public class RectangleCollection : CollectionExtended<IRectangleShape>, IList<IRectangleShape>, ICollection<IRectangleShape>, IEnumerable<IRectangleShape>, IEnumerable, IExcelApplication, ICloneParent, IRectangleShapes
Inheritance
RectangleCollection
Implements
Inherited Members

Properties

this[int]

public IRectangleShape this[int index] { get; }

Parameters

index int

Property Value

IRectangleShape

this[string]

public IRectangleShape this[string name] { get; }

Parameters

name string

Property Value

IRectangleShape

Methods

AddCopy(IRectangleShape)

public void AddCopy(IRectangleShape source)

Parameters

source IRectangleShape

AddRectangle(int, int, int, int, RectangleShapeType)

public IRectangleShape AddRectangle(int row, int column, int height, int width, RectangleShapeType rectShapeType)

Parameters

row int
column int
height int
width int
rectShapeType RectangleShapeType

Returns

IRectangleShape

Clear()

public void Clear()