Click or drag to resize

IShapes Interface

Defines a contract for shapes, which can be implemented by any class representing a geometric shape.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface IShapes : IExcelApplication, 
	IEnumerable

The IShapes type exposes the following members.

Properties
Name Description
Public property Count
Returns the number of objects in the collection. Read-only Long.
Public property Item Int32
Returns single shape from the collection by its index.
Public property Item String
Returns single shape from the collection by its name. Read-only.
Public property Parent
Gets the parent object of the current instance.
(Inherited from IExcelApplication .)
Top
Methods
Name Description
Public method Add
Adds new chart shape to the collection.
Public method AddCheckBox
Adds new check box to the collection.
Public method AddComboBox
Adds new check box to the collection.
Public method AddComment
Adds new Comment shape with empty comment text to the collection.
Public method AddComment(String)
Adds new Comment shape to the collection.
Public method AddComment(String, Boolean)
Adds new Comment shape to the collection.
Public method AddCopy(IShape)
Adds shape copy to the collection.
Public method AddCopy(IShape, Dictionary String, String , List Int32 )
Adds shape copy to shapes collection.
Public method AddLine
Adds new text line to the collection.
Public method AddOval
Adds an oval shape to the specified row and column with the given height and width.
Public method AddPicture(String)
Adds new image to the collection.
Public method AddPicture(Image, String, ImageFormatType)
Adds new image to the collection.
Public method AddPrstGeomShape
Adds a predefined geometric shape to the document.
Public method AddRadioButton
Adds new ootion button to the collection.
Public method AddTextBox
Adds new text box to the collection.
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable .)
Top
See Also