| Modifier and Type | Method and Description |
|---|---|
IShape |
addCameraPicture(java.lang.String reference,
double left,
double top)
Creates a picture from reference range.Returns the
IShape object that represents the new picture. |
IShape |
addCameraPicture(java.lang.String reference,
double left,
double top,
double width,
double height)
Creates a picture from reference range.Returns the
IShape object that represents the new picture. |
IShape |
addCameraPicture(java.lang.String reference,
java.lang.String name,
double left,
double top)
Creates a picture from reference range.Returns the
IShape object that represents the new picture. |
IShape |
addCameraPicture(java.lang.String reference,
java.lang.String name,
double left,
double top,
double width,
double height)
Creates a picture from reference range.Returns the
IShape object that represents the new picture. |
IShape |
addChart(ChartType chartType,
double left,
double top,
double width,
double height)
Creates a chart at the specified location on the active sheet.
|
IShape |
addChart(java.lang.String name,
ChartType chartType,
double left,
double top,
double width,
double height)
Creates a chart at the specified location on the active sheet.
|
IShape |
addChartInPixel(ChartType chartType,
double left,
double top,
double width,
double height)
Creates a chart at the specified location on the active sheet.
|
IShape |
addChartInPixel(java.lang.String name,
ChartType chartType,
double left,
double top,
double width,
double height)
Creates a chart at the specified location on the active sheet.
|
IShape |
addConnector(ConnectorType type,
double beginX,
double beginY,
double endX,
double endY)
Creates a connector.
|
IShape |
addConnector(java.lang.String name,
ConnectorType type,
double beginX,
double beginY,
double endX,
double endY)
Creates a connector.
|
IShape |
addConnectorInPixel(ConnectorType type,
float beginX,
float beginY,
float endX,
float endY)
Creates a connector.
|
IShape |
addConnectorInPixel(java.lang.String name,
ConnectorType type,
float beginX,
float beginY,
float endX,
float endY)
Creates a connector.
|
IShape |
addPicture(java.io.InputStream stream,
ImageType type,
double left,
double top,
double width,
double height)
Creates a picture from an existing stream.
|
IShape |
addPicture(java.lang.String filename,
double left,
double top,
double width,
double height)
Creates a picture from an existing file.
|
IShape |
addPicture(java.lang.String name,
java.io.InputStream stream,
ImageType type,
double left,
double top,
double width,
double height)
Creates a picture from an existing stream.
|
IShape |
addPicture(java.lang.String name,
java.lang.String filename,
double left,
double top,
double width,
double height)
Creates a picture from an existing file.
|
IShape |
addPictureInPixel(java.io.InputStream stream,
ImageType type,
double left,
double top,
double width,
double height)
Creates a picture from an existing stream.
|
IShape |
addPictureInPixel(java.lang.String filename,
double left,
double top,
double width,
double height)
Creates a picture from an existing file.
|
IShape |
addPictureInPixel(java.lang.String name,
java.io.InputStream stream,
ImageType type,
double left,
double top,
double width,
double height)
Creates a picture from an existing stream.
|
IShape |
addPictureInPixel(java.lang.String name,
java.lang.String filename,
double left,
double top,
double width,
double height)
Creates a picture from an existing file.
|
IShape |
addShape(AutoShapeType type,
double left,
double top,
double width,
double height)
Returns the
IShape object that represents the new AutoShape in a
worksheet. |
IShape |
addShape(java.lang.String name,
AutoShapeType type,
double left,
double top,
double width,
double height)
Returns the
IShape object that represents the new AutoShape in a
worksheet. |
IShape |
addShapeInPixel(AutoShapeType type,
double left,
double top,
double width,
double height)
Returns the
IShape object that represents the new AutoShape in a
worksheet. |
IShape |
addShapeInPixel(java.lang.String name,
AutoShapeType type,
double left,
double top,
double width,
double height)
Returns the
IShape object that represents the new AutoShape in a
worksheet. |
IShape |
get(int index)
Returns a single object from a collection.
|
IShape |
get(java.lang.String name)
Returns a single object from a collection.
|
int |
getCount()
Returns the number of objects in the collection.
|
IShapeRange |
getRange(int[] index)
Returns a ShapeRange object that represents a subset of the shapes in a Shapes collection.
|
IShapeRange |
getRange(java.lang.String[] index)
Returns a ShapeRange object that represents a subset of the shapes in a Shapes collection.
|
IShapeRange getRange(java.lang.String[] index)
IShapeRange getRange(int[] index)
IShape get(int index)
index - Required int. The index number for the object.IShape get(java.lang.String name)
name - Required string. The name for the object.int getCount()
IShape addChart(ChartType chartType, double left, double top, double width, double height)
chartType - The chart typeleft - The 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 - The distance, in points, from the top edge of the top most shape
in the shape range to the top edge of the worksheet.width - The width, in points, of the objectheight - The height, in points, of the objectIShapeThe object.IShape addChart(java.lang.String name, ChartType chartType, double left, double top, double width, double height)
name - * The chart namechartType - The chart typeleft - The 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 - The distance, in points, from the top edge of the top most shape
in the shape range to the top edge of the worksheet.width - The width, in points, of the objectheight - The height, in points, of the objectIShapeThe object.IShape addPicture(java.lang.String filename, double left, double top, double width, double height) throws java.io.IOException
IShape object
that represents the new picture.filename - The file from which the object is to be createdleft - The position (in points) of the upper-left corner of the picture
relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the picture
relative to the top of the document.width - The width of the picture, in points.height - The height of the picture, in points.IShapeThe object.java.io.IOExceptionIShape addPicture(java.lang.String name, java.lang.String filename, double left, double top, double width, double height) throws java.io.IOException
IShape object
that represents the new picture.name - The picture namefilename - The file from which the object is to be createdleft - The position (in points) of the upper-left corner of the picture
relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the picture
relative to the top of the document.width - The width of the picture, in points.height - The height of the picture, in points.IShapeThe object.java.io.IOExceptionIShape addPicture(java.io.InputStream stream, ImageType type, double left, double top, double width, double height) throws java.io.IOException
IShape object
that represents the new picture.stream - The stream from which the object is to be created.type - Specifies the type of picture to create.left - The position (in points) of the upper-left corner of the picture
relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the picture
relative to the top of the document.width - The width of the picture, in points.height - The height of the picture, in points.IShapeThe object.java.io.IOExceptionIShape addPicture(java.lang.String name, java.io.InputStream stream, ImageType type, double left, double top, double width, double height) throws java.io.IOException
IShape object
that represents the new picture.name - The picture namestream - The stream from which the object is to be created.type - Specifies the type of picture to create.left - The position (in points) of the upper-left corner of the picture
relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the picture
relative to the top of the document.width - The width of the picture, in points.height - The height of the picture, in points.IShapeThe object.java.io.IOExceptionIShape addShape(AutoShapeType type, double left, double top, double width, double height)
IShape object that represents the new AutoShape in a
worksheet.type - Specifies the type of AutoShape to create.left - The position (in points) of the upper-left corner of the
AutoShape's boundary box relative to the upper-left corner of the
document.top - The position (in points) of the upper-left corner of the
AutoShape's boundary box relative to the upper-left corner of the
document.width - The width and height of the AutoShape's boundary box, in points.height - The width and height of the AutoShape's boundary box, in points.IShapeThe object.IShape addShape(java.lang.String name, AutoShapeType type, double left, double top, double width, double height)
IShape object that represents the new AutoShape in a
worksheet.name - The shape nametype - Specifies the type of AutoShape to create.left - The position (in points) of the upper-left corner of the
AutoShape's boundary box relative to the upper-left corner of the
document.top - The position (in points) of the upper-left corner of the
AutoShape's boundary box relative to the upper-left corner of the
document.width - The width and height of the AutoShape's boundary box, in points.height - The width and height of the AutoShape's boundary box, in points.IShapeThe object.IShape addConnector(ConnectorType type, double beginX, double beginY, double endX, double endY)
IShape object that represents the
new connector.type - The connector type to add.beginX - The horizontal position (in points) of the connector's starting
point relative to the upper-left corner of the document.beginY - The vertical position (in points) of the connector's starting
point relative to the upper-left corner of the document.endX - The horizontal position (in points) of the connector's end point
relative to the upper-left corner of the document.endY - The veritcal position (in points) of the connector's end point
relative to the upper-left corner of the document.IShape object.IShape addConnector(java.lang.String name, ConnectorType type, double beginX, double beginY, double endX, double endY)
IShape object that represents the
new connector.name - The connector nametype - The connector type to add.beginX - The horizontal position (in points) of the connector's starting
point relative to the upper-left corner of the document.beginY - The vertical position (in points) of the connector's starting
point relative to the upper-left corner of the document.endX - The horizontal position (in points) of the connector's end point
relative to the upper-left corner of the document.endY - The veritcal position (in points) of the connector's end point
relative to the upper-left corner of the document.IShape object.IShape addChartInPixel(ChartType chartType, double left, double top, double width, double height)
chartType - The chart typeleft - The 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 - The distance, in pixels, from the top edge of the top most shape in
the shape range to the top edge of the worksheet.width - The width, in pixels, of the objectheight - The height, in pixels, of the objectIShape object.IShape addChartInPixel(java.lang.String name, ChartType chartType, double left, double top, double width, double height)
name - The chart namechartType - The chart typeleft - The 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 - The distance, in pixels, from the top edge of the top most shape in
the shape range to the top edge of the worksheet.width - The width, in pixels, of the objectheight - The height, in pixels, of the objectIShape object.IShape addPictureInPixel(java.lang.String filename, double left, double top, double width, double height) throws java.io.IOException
IShape object
that represents the new picture.filename - The file from which the object is to be createdleft - The position (in pixels) of the upper-left corner of the picture
relative to the upper-left corner of the document.top - The position (in pixels) of the upper-left corner of the picture
relative to the top of the document.width - The width of the picture, in pixels.height - The height of the picture, in pixels.IShape object.java.io.IOExceptionIShape addPictureInPixel(java.lang.String name, java.lang.String filename, double left, double top, double width, double height) throws java.io.IOException
IShape object
that represents the new picture.name - The picture namefilename - The file from which the object is to be createdleft - The position (in pixels) of the upper-left corner of the picture
relative to the upper-left corner of the document.top - The position (in pixels) of the upper-left corner of the picture
relative to the top of the document.width - The width of the picture, in pixels.height - The height of the picture, in pixels.IShape object.java.io.IOExceptionIShape addPictureInPixel(java.io.InputStream stream, ImageType type, double left, double top, double width, double height) throws java.io.IOException
IShape object
that represents the new picture.stream - The stream from which the object is to be created.type - Specifies the type of picture to create.left - The position (in pixels) of the upper-left corner of the picture
relative to the upper-left corner of the document.top - The position (in pixels) of the upper-left corner of the picture
relative to the top of the document.width - The width of the picture, in pixels.height - The height of the picture, in pixels.IShape object.java.io.IOExceptionIShape addPictureInPixel(java.lang.String name, java.io.InputStream stream, ImageType type, double left, double top, double width, double height) throws java.io.IOException
IShape object
that represents the new picture.name - The picture namestream - The stream from which the object is to be created.type - Specifies the type of picture to create.left - The position (in pixels) of the upper-left corner of the picture
relative to the upper-left corner of the document.top - The position (in pixels) of the upper-left corner of the picture
relative to the top of the document.width - The width of the picture, in pixels.height - The height of the picture, in pixels.IShape object.java.io.IOExceptionIShape addShapeInPixel(AutoShapeType type, double left, double top, double width, double height)
IShape object that represents the new AutoShape in a
worksheet.type - Specifies the type of AutoShape to create.left - The position (in pixels) of the upper-left corner of the
AutoShape's boundary box relative to the upper-left corner of the
document.top - The position (in pixels) of the upper-left corner of the
AutoShape's boundary box relative to the upper-left corner of the
document.width - The width and height of the AutoShape's boundary box, in pixels.height - The width and height of the AutoShape's boundary box, in pixels.IShape object.IShape addShapeInPixel(java.lang.String name, AutoShapeType type, double left, double top, double width, double height)
IShape object that represents the new AutoShape in a
worksheet.name - The shape nametype - Specifies the type of AutoShape to create.left - The position (in pixels) of the upper-left corner of the
AutoShape's boundary box relative to the upper-left corner of the
document.top - The position (in pixels) of the upper-left corner of the
AutoShape's boundary box relative to the upper-left corner of the
document.width - The width and height of the AutoShape's boundary box, in pixels.height - The width and height of the AutoShape's boundary box, in pixels.IShape object.IShape addConnectorInPixel(ConnectorType type, float beginX, float beginY, float endX, float endY)
IShape object that represents the
new connector.type - The connector type to add.beginX - The horizontal position (in pixels) of the connector's starting
point relative to the upper-left corner of the document.beginY - The vertical position (in pixels) of the connector's starting
point relative to the upper-left corner of the document.endX - The horizontal position (in pixels) of the connector's end point
relative to the upper-left corner of the document.endY - The veritcal position (in pixels) of the connector's end point
relative to the upper-left corner of the document.IShape object.IShape addConnectorInPixel(java.lang.String name, ConnectorType type, float beginX, float beginY, float endX, float endY)
IShape object that represents the
new connector.name - The connector nametype - The connector type to add.beginX - The horizontal position (in pixels) of the connector's starting
point relative to the upper-left corner of the document.beginY - The vertical position (in pixels) of the connector's starting
point relative to the upper-left corner of the document.endX - The horizontal position (in pixels) of the connector's end point
relative to the upper-left corner of the document.endY - The veritcal position (in pixels) of the connector's end point
relative to the upper-left corner of the document.IShape object.IShape addCameraPicture(java.lang.String reference, double left, double top)
IShape object that represents the new picture.reference - The range of the picture generated fromleft - The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the picture relative to the top of the document.IShapeThe object.IShape addCameraPicture(java.lang.String reference, double left, double top, double width, double height)
IShape object that represents the new picture.reference - The range of the picture generated fromleft - The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the picture relative to the top of the document.width - The width and height of the AutoShape's boundary box, in points.height - The width and height of the AutoShape's boundary box, in points.IShapeThe object.IShape addCameraPicture(java.lang.String reference, java.lang.String name, double left, double top)
IShape object that represents the new picture.reference - The range of the picture generated fromname - The picture nameleft - The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the picture relative to the top of the document.IShapeThe object.IShape addCameraPicture(java.lang.String reference, java.lang.String name, double left, double top, double width, double height)
IShape object that represents the new picture.reference - The range of the picture generated fromname - The picture nameleft - The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.top - The position (in points) of the upper-left corner of the picture relative to the top of the document.width - The width and height of the AutoShape's boundary box, in points.height - The width and height of the AutoShape's boundary box, in points.IShapeThe object.