Table of Contents

Interface IShapes

Namespace
Spire.Xls.Core
Assembly
Spire.XLS.dll
public interface IShapes : IExcelApplication, IEnumerable
Inherited Members

Properties

Count

int Count { get; }

Property Value

int

this[int]

IShape this[int index] { get; }

Parameters

index int

Property Value

IShape

this[string]

IShape this[string strShapeName] { get; }

Parameters

strShapeName string

Property Value

IShape

Methods

Add()

IChartShape Add()

Returns

IChartShape

AddCheckBox()

ICheckBox AddCheckBox()

Returns

ICheckBox

AddComboBox()

IComboBoxShape AddComboBox()

Returns

IComboBoxShape

AddComment()

ICommentShape AddComment()

Returns

ICommentShape

AddComment(string)

ICommentShape AddComment(string commentText)

Parameters

commentText string

Returns

ICommentShape

AddComment(string, bool)

ICommentShape AddComment(string commentText, bool bIsParseOptions)

Parameters

commentText string
bIsParseOptions bool

Returns

ICommentShape

AddCopy(IShape)

IShape AddCopy(IShape sourceShape)

Parameters

sourceShape IShape

Returns

IShape

AddCopy(IShape, Dictionary<string, string>, List<int>)

IShape AddCopy(IShape sourceShape, Dictionary<string, string> hashNewNames, List<int> arrFontIndexes)

Parameters

sourceShape IShape
hashNewNames Dictionary<string, string>
arrFontIndexes List<int>

Returns

IShape

AddLine(Point, Point, LineShapeType)

Adds new text line to the collection.

ILineShape AddLine(Point startPoint, Point endPoint, LineShapeType lineShapeType)

Parameters

startPoint Point

startPoint

endPoint Point

endPoint

lineShapeType LineShapeType

lineShapeType

Returns

ILineShape

Newly created line.

AddOval(int, int, int, int)

Add new oval shape in the collection.

IOvalShape AddOval(int row, int column, int height, int width)

Parameters

row int
column int
height int
width int

Returns

IOvalShape

AddPicture(Stream, string, ImageFormatType)

IPictureShape AddPicture(Stream image, string pictureName, ImageFormatType imageFormat)

Parameters

image Stream
pictureName string
imageFormat ImageFormatType

Returns

IPictureShape

AddPicture(string)

IPictureShape AddPicture(string fileName)

Parameters

fileName string

Returns

IPictureShape

AddPrstGeomShape(PrstGeomShapeType)

IPrstGeomShape AddPrstGeomShape(PrstGeomShapeType shapeType)

Parameters

shapeType PrstGeomShapeType

Returns

IPrstGeomShape

AddRadioButton()

IRadioButton AddRadioButton()

Returns

IRadioButton

AddTextBox()

ITextBoxLinkShape AddTextBox()

Returns

ITextBoxLinkShape