ShapeCollection Class

Represents all the shape in a worksheet/chart.
Inheritance Hierarchy

Namespace:  Aspose.Cells.Drawing
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.5.0.0 (21.5)
Syntax
public class ShapeCollection : CollectionBase

The ShapeCollection type exposes the following members.

Properties
Methods
  NameDescription
Public methodAddActiveXControl
Creates an Activex Control.
Public methodAddArc
Adds a ArcShape to the worksheet.
Public methodAddAutoShape
Adds a AutoShape to the worksheet.
Public methodAddAutoShapeInChart
Adds a AutoShape to the chart.
Public methodAddButton
Adds a Button to the worksheet.
Public methodAddCheckBox
Adds a checkbox to the worksheet.
Public methodAddComboBox
Adds a ComboBox to the worksheet.
Public methodAddCopy
Adds and copy a shape to the worksheet..
Public methodAddFreeFloatingShape
Adds a free floating shape to the worksheet.Only applies for line/image shape.
Public methodAddGroupBox
Adds a GroupBox to the worksheet.
Public methodAddLabel
Adds a Label to the worksheet.
Public methodAddLabelInChart
Adds a label to the chart.
Public methodAddLine
Adds a LineShape to the worksheet.
Public methodAddLinkedPicture
Add a linked picture.
Public methodAddListBox
Adds a ListBox to the worksheet.
Public methodAddOleObject
Public methodAddOleObjectWithLinkedImage
Add a linked picture.
Public methodAddOval
Adds a Oval to the worksheet.
Public methodAddPicture(Int32, Int32, Int32, Int32, Stream)
Adds a picture to the collection.
Public methodAddPicture(Int32, Int32, Stream, Int32, Int32)
Adds a picture to the collection.
Public methodAddPictureInChart
Adds a picture to the chart.
Public methodAddRadioButton
Adds a RadioButton to the worksheet.
Public methodAddRectangle
Adds a RectangleShape to the worksheet.
Public methodAddScrollBar
Adds a ScrollBar to the worksheet.
Public methodAddShape
Adds a Shape to the worksheet.
Public methodAddShapeInChart(MsoDrawingType, PlacementType, Int32, Int32, Int32, Int32)
Add a shape to chart .All unit is 1/4000 of chart area.
Public methodAddShapeInChart(MsoDrawingType, PlacementType, Int32, Int32, Int32, Int32, Byte)
Add a shape to chart .All unit is 1/4000 of chart area.
Public methodAddSpinner
Adds a Spinner to the worksheet.
Public methodAddSvg
Adds svg image.
Public methodAddTextBox
Adds a text box to the worksheet.
Public methodAddTextBoxInChart
Adds a textbox to the chart.
Public methodAddTextEffect
Inserts a WordArt object.
Public methodAddTextEffectInChart
Inserts a WordArt object to the chart
Public methodAddWordArt
Adds preset WordArt since Excel 2007.s
Public methodClear
Clear all shapes.
Public methodCopyCommentsInRange
Copy all comments in the range.
Public methodCopyInRange
Copy shapes in the range to destination range.
Public methodDeleteInRange
Delete shapes in the range.Comment shapes will not be deleted.
Public methodDeleteShape
Delete a shape. If the shape is in the group or is a comment shape, it will not be deleted.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from CollectionBase.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGroup
Group the shapes.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnClear (Inherited from CollectionBase.)
Protected methodOnClearComplete (Inherited from CollectionBase.)
Protected methodOnInsert (Inherited from CollectionBase.)
Protected methodOnInsertComplete (Inherited from CollectionBase.)
Protected methodOnRemove (Inherited from CollectionBase.)
Protected methodOnRemoveComplete (Inherited from CollectionBase.)
Protected methodOnSet (Inherited from CollectionBase.)
Protected methodOnSetComplete (Inherited from CollectionBase.)
Protected methodOnValidate (Inherited from CollectionBase.)
Public methodRemove
Remove the shape.
Public methodRemoveAt
Remove the shape.
Public methodToString (Inherited from Object.)
Public methodUngroup
Ungroups the shape items.
Public methodUpdateSelectedValue
Update the selected value by the value of the linked cell of the shapes.
See Also