[]
A collection of all the IShape objects on the specified sheet.
public interface IShapes : IEnumerable<IShape>, IEnumerable
Returns the number of objects in the collection.
int Count { get; }
Returns a single object from a collection.
IShape this[int index] { get; }
Returns a single object from a collection.
IShape this[string name] { get; }
Returns a IShapeRangeProvider object that receives parameters of the Range property.
IShapeRangeProvider Range { get; }
Creates a picture from reference range to the target range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
Returns the IShape object that represents the new picture.
IShape AddCameraPicture(string reference, IRange targetRange)
reference stringThe range of the picture generated from.
targetRange IRangeThe target range of the current sheet.
Creates a picture from reference range.Returns the IShape object that represents the new picture.
IShape AddCameraPicture(string reference, double left, double top)
reference stringThe range of the picture generated from.
left doubleThe position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the picture relative to the top of the document.
Creates a picture from reference range.Returns the IShape object that represents the new picture.
IShape AddCameraPicture(string reference, double left, double top, double width, double height)
reference stringThe range of the picture generated from.
left doubleThe position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width and height of the AutoShape's boundary box, in points.
height doubleThe width and height of the AutoShape's boundary box, in points.
Creates a picture from reference range to the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
Returns the IShape object that represents the new picture.
IShape AddCameraPicture(string reference, string name, IRange targetRange)
reference stringThe range of the picture generated from.
name stringThe picture name.
targetRange IRangeThe target range of the current sheet.
Creates a picture from reference range.Returns the IShape object that represents the new picture.
IShape AddCameraPicture(string reference, string name, double left, double top)
reference stringThe range of the picture generated from.
name stringThe picture name.
left doubleThe position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the picture relative to the top of the document.
Creates a picture from reference range.Returns the IShape object that represents the new picture.
IShape AddCameraPicture(string reference, string name, double left, double top, double width, double height)
reference stringThe range of the picture generated from.
name stringThe picture name.
left doubleThe position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width and height of the AutoShape's boundary box, in points.
height doubleThe width and height of the AutoShape's boundary box, in points.
Creates a chart at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
IShape AddChart(ChartType chartType, IRange targetRange)
Creates a chart at the specified location on the active sheet.
IShape AddChart(ChartType chartType, double left, double top, double width, double height)
chartType ChartTypeThe chart type.
left doubleThe distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).
top doubleThe distance, in points, from the top edge of the top most shape in the shape range to the top edge of the worksheet.
width doubleThe width, in points, of the object.
height doubleThe height, in points, of the object.
Creates a chart at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
IShape AddChart(string name, ChartType chartType, IRange targetRange)
name stringThe chart name.
chartType ChartTypeThe chart type.
targetRange IRangeThe target range of the current sheet.
Creates a chart at the specified location on the active sheet.
IShape AddChart(string name, ChartType chartType, double left, double top, double width, double height)
name stringThe chart name.
chartType ChartTypeThe chart type.
left doubleThe distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).
top doubleThe distance, in points, from the top edge of the top most shape in the shape range to the top edge of the worksheet.
width doubleThe width, in points, of the object.
height doubleThe height, in points, of the object.
Creates a chart at the specified location on the active sheet.
IShape AddChartInPixel(ChartType chartType, double left, double top, double width, double height)
chartType ChartTypeThe chart type.
left doubleThe distance, in pixels, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).
top doubleThe distance, in pixels, from the top edge of the top most shape in the shape range to the top edge of the worksheet.
width doubleThe width, in pixels, of the object.
height doubleThe height, in pixels, of the object.
Creates a chart at the specified location on the active sheet.
IShape AddChartInPixel(string name, ChartType chartType, double left, double top, double width, double height)
name stringThe chart name.
chartType ChartTypeThe chart type.
left doubleThe distance, in pixels, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).
top doubleThe distance, in pixels, from the top edge of the top most shape in the shape range to the top edge of the worksheet.
width doubleThe width, in pixels, of the object.
height doubleThe height, in pixels, of the object.
Creates a connector at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
Returns the IShape object that represents the new connector.
IShape AddConnector(ConnectorType type, IRange targetRange)
type ConnectorTypeThe connector type to add.
targetRange IRangeThe target range of the current sheet.
Creates a connector. Returns the IShape object that represents the new connector.
IShape AddConnector(ConnectorType type, double beginX, double beginY, double endX, double endY)
type ConnectorTypeThe connector type to add.
beginX doubleThe horizontal position (in points) of the connector's starting point relative to the upper-left corner of the document.
beginY doubleThe vertical position (in points) of the connector's starting point relative to the upper-left corner of the document.
endX doubleThe horizontal position (in points) of the connector's end point relative to the upper-left corner of the document.
endY doubleThe veritcal position (in points) of the connector's end point relative to the upper-left corner of the document.
Creates a connector at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
Returns the IShape object that represents the new connector.
IShape AddConnector(string name, ConnectorType type, IRange targetRange)
name stringThe connector name.
type ConnectorTypeThe connector type to add.
targetRange IRangeThe target range of the current sheet.
Creates a connector. Returns the IShape object that represents the new connector.
IShape AddConnector(string name, ConnectorType type, double beginX, double beginY, double endX, double endY)
name stringThe connector name.
type ConnectorTypeThe connector type to add.
beginX doubleThe horizontal position (in points) of the connector's starting point relative to the upper-left corner of the document.
beginY doubleThe vertical position (in points) of the connector's starting point relative to the upper-left corner of the document.
endX doubleThe horizontal position (in points) of the connector's end point relative to the upper-left corner of the document.
endY doubleThe veritcal position (in points) of the connector's end point relative to the upper-left corner of the document.
Creates a connector. Returns the IShape object that represents the new connector.
IShape AddConnectorInPixel(ConnectorType type, double beginX, double beginY, double endX, double endY)
type ConnectorTypeThe connector type to add.
beginX doubleThe horizontal position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
beginY doubleThe vertical position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
endX doubleThe horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
endY doubleThe veritcal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
Creates a connector. Returns the IShape object that represents the new connector.
IShape AddConnectorInPixel(string name, ConnectorType type, double beginX, double beginY, double endX, double endY)
name stringThe connector name.
type ConnectorTypeThe connector type to add.
beginX doubleThe horizontal position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
beginY doubleThe vertical position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
endX doubleThe horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
endY doubleThe veritcal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
Creates a picture from an existing stream at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
Returns the IShape object that represents the new picture.
IShape AddPicture(Stream stream, ImageType type, IRange targetRange)
stream StreamThe stream from which the object is to be created.
type ImageTypeSpecifies the type of picture to create.
targetRange IRangeThe target range of the current sheet.
Creates a picture from an existing stream. Returns the IShape object that represents the new picture.
IShape AddPicture(Stream stream, ImageType type, double left, double top, double width, double height)
stream StreamThe stream from which the object is to be created.
type ImageTypeSpecifies the type of picture to create.
left doubleThe position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width of the picture, in points.
height doubleThe height of the picture, in points.
Creates a picture from an existing file at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
Returns the IShape object that represents the new picture.
IShape AddPicture(string filename, IRange targetRange)
filename stringThe file from which the object is to be created.
targetRange IRangeThe target range of the current sheet.
Creates a picture from an existing file. Returns the IShape object that represents the new picture.
IShape AddPicture(string filename, double left, double top, double width, double height)
filename stringThe file from which the object is to be created.
left doubleThe position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width of the picture, in points.
height doubleThe height of the picture, in points.
Creates a picture from an existing stream at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
Returns the IShape object that represents the new picture.
IShape AddPicture(string name, Stream stream, ImageType type, IRange targetRange)
name stringThe picture name
stream StreamThe stream from which the object is to be created.
type ImageTypeSpecifies the type of picture to create.
targetRange IRangeThe target range of the current sheet.
Creates a picture from an existing stream. Returns the IShape object that represents the new picture.
IShape AddPicture(string name, Stream stream, ImageType type, double left, double top, double width, double height)
name stringThe picture name.
stream StreamThe stream from which the object is to be created.
type ImageTypeSpecifies the type of picture to create.
left doubleThe position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width of the picture, in points.
height doubleThe height of the picture, in points.
Creates a picture from an existing file at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
Returns the IShape object that represents the new picture.
IShape AddPicture(string name, string filename, IRange targetRange)
name stringThe picture name.
filename stringThe file from which the object is to be created.
targetRange IRangeThe target range of the current sheet.
Creates a picture from an existing file. Returns the IShape object that represents the new picture.
IShape AddPicture(string name, string filename, double left, double top, double width, double height)
name stringThe picture name.
filename stringThe file from which the object is to be created.
left doubleThe position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width of the picture, in points.
height doubleThe height of the picture, in points.
Creates a picture from an existing stream. Returns the IShape object that represents the new picture.
IShape AddPictureInPixel(Stream stream, ImageType type, double left, double top, double width, double height)
stream StreamThe stream from which the object is to be created.
type ImageTypeSpecifies the type of picture to create.
left doubleThe position (in pixels) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in pixels) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width of the picture, in pixels.
height doubleThe height of the picture, in pixels.
Creates a picture from an existing file. Returns the IShape object that represents the new picture.
IShape AddPictureInPixel(string filename, double left, double top, double width, double height)
filename stringThe file from which the object is to be created.
left doubleThe position (in pixels) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in pixels) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width of the picture, in pixels.
height doubleThe height of the picture, in pixels.
Creates a picture from an existing stream. Returns the IShape object that represents the new picture.
IShape AddPictureInPixel(string name, Stream stream, ImageType type, double left, double top, double width, double height)
name stringThe picture name.
stream StreamThe stream from which the object is to be created.
type ImageTypeSpecifies the type of picture to create.
left doubleThe position (in pixels) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in pixels) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width of the picture, in pixels.
height doubleThe height of the picture, in pixels.
Creates a picture from an existing file. Returns the IShape object that represents the new picture.
IShape AddPictureInPixel(string name, string filename, double left, double top, double width, double height)
name stringThe picture name.
filename stringThe file from which the object is to be created.
left doubleThe position (in pixels) of the upper-left corner of the picture relative to the upper-left corner of the document.
top doubleThe position (in pixels) of the upper-left corner of the picture relative to the top of the document.
width doubleThe width of the picture, in pixels.
height doubleThe height of the picture, in pixels.
Returns the IShape object that represents the new AutoShape at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
IShape AddShape(AutoShapeType type, IRange targetRange)
type AutoShapeTypeSpecifies the type of AutoShape to create.
targetRange IRangeThe target range of the current sheet.
Returns the IShape object that represents the new AutoShape in a worksheet.
IShape AddShape(AutoShapeType type, double left, double top, double width, double height)
type AutoShapeTypeSpecifies the type of AutoShape to create.
left doubleThe position (in points) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
width doubleThe width and height of the AutoShape's boundary box, in points.
height doubleThe width and height of the AutoShape's boundary box, in points.
Returns the IShape object that represents the new AutoShape at the specified range on the current sheet.
The sheet of targetRange and the sheet of the shape being added must be the same sheet.
IShape AddShape(string name, AutoShapeType type, IRange targetRange)
name stringThe shape name.
type AutoShapeTypeSpecifies the type of AutoShape to create.
targetRange IRangeThe target range of the current sheet.
Returns the IShape object that represents the new AutoShape in a worksheet.
IShape AddShape(string name, AutoShapeType type, double left, double top, double width, double height)
name stringThe shape name.
type AutoShapeTypeSpecifies the type of AutoShape to create.
left doubleThe position (in points) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
top doubleThe position (in points) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
width doubleThe width and height of the AutoShape's boundary box, in points.
height doubleThe width and height of the AutoShape's boundary box, in points.
Returns the IShape object that represents the new AutoShape in a worksheet.
IShape AddShapeInPixel(AutoShapeType type, double left, double top, double width, double height)
type AutoShapeTypeSpecifies the type of AutoShape to create.
left doubleThe position (in pixels) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
top doubleThe position (in pixels) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
width doubleThe width and height of the AutoShape's boundary box, in pixels.
height doubleThe width and height of the AutoShape's boundary box, in pixels.
Returns the IShape object that represents the new AutoShape in a worksheet.
IShape AddShapeInPixel(string name, AutoShapeType type, double left, double top, double width, double height)
name stringThe shape name.
type AutoShapeTypeSpecifies the type of AutoShape to create.
left doubleThe position (in pixels) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
top doubleThe position (in pixels) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
width doubleThe width and height of the AutoShape's boundary box, in pixels.
height doubleThe width and height of the AutoShape's boundary box, in pixels.