[]
Represents a collection of all the IShape objects on the specified sheet.
public interface IShapes
Public Interface IShapes
Except chart, shape feature work with Spread WinForms only.
Name | Description |
---|---|
Count | Gets the number of shapes in the collection. |
this[int] | Gets the IShape object at the specified index. |
this[string] | Gets the IShape object with the specified name. |
SelectedShapes | Gets a IShapeRange object that represents all selected shapes. |
Name | Description |
---|---|
AddCallout(CalloutType, double, double, double, double) | Creates a borderless line callout. |
AddCalloutToCell(CalloutType, int, int, double, double) | Creates a borderless line callout. |
AddChart(BuiltInChartStyles, ChartType, double, double, double, double, bool) | Adds a chart to the document. Returns an IShape object that represents a chart and adds it to the specified collection. |
AddChart(ChartType, double, double, double, double, bool) | Adds a chart to the document. Returns an IShape object that represents a chart and adds it to the specified collection. |
AddConnector(ConnectorType, double, double, double, double) | Creates a connector. |
AddConnectorToCell(ConnectorType, int, int, int, int) | Creates a connector. |
AddFormControl(FormControl, double, double, double, double) | Creates a form control. |
AddFormControlToCell(FormControl, int, int, double, double) | Creates a form control. |
AddPicture(string, bool, bool, double, double, double, double) | Creates a picture from an existing file. |
AddPictureToCell(string, bool, bool, int, int, double, double) | Creates a picture from an existing file. |
AddShape(AutoShapeType, double, double, double, double) | Creates a new shape. |
AddShapeToCell(AutoShapeType, int, int, double, double) | Creates a new shape. |
AddTextEffect(PresetTextEffect, string, string, double, bool, bool, double, double) | Creates an IShape object that represents the new text effect object. |
AddTextEffectToCell(PresetTextEffect, string, string, double, bool, bool, int, int) | Creates an IShape object that represents the new text effect object. |
BuildFreeform(EditingType, double, double) | Builds a freeform object. Returns a IFreeFormBuilder object that represents the freeform as it is being built. |
Delete() | Deletes all shapes. |
Range() | Gets a IShapeRange object that represents all shapes in a IWorksheet object. |
Range(params int[]) | Gets a IShapeRange object that represents a subset of the shapes in a IShapes collection. |
Range(params object[]) | Gets a IShapeRange object that represents a subset of the shapes in a IShapes collection. |
Range(params string[]) | Gets a IShapeRange object that represents a subset of the shapes in a IShapes collection. |
SelectAll() | Selects all the shapes in the specified Shapes collection. |