接口的使用
com.grapecity.documents.excel.drawing.IShape
-
com.grapecity.documents.excel中IShape的使用
修饰符和类型方法说明IComment.getShape()
Returns theIShape
object that represents the shape attached to thespecified comment.IHyperlink.getShape()
Returns theIShape
object that represents the shape attached to the specified hyperlink.ISlicer.getShape()
Gets theIShape
object associated with the specified slicer.ISignature.getSignatureLineShape()
Gets the Shape object associated with a Signature object that is a signature line.修饰符和类型方法说明Adds a hyperlink to the specified shape (IHyperlink
object).IHyperlinks.add
(IShape shape, String address, String subAddress, String screenTip, String textToDisplay) Adds a hyperlink to the specified shape (IHyperlink
object). -
com.grapecity.documents.excel.drawing中IShape的使用
修饰符和类型接口说明interface
Represents an picture object which will be used as the background picture.修饰符和类型方法说明IShapes.addCameraPicture
(String reference, double left, double top) Creates a picture from reference range.IShapes.addCameraPicture
(String reference, double left, double top, double width, double height) Creates a picture from reference range.IShapes.addCameraPicture
(String reference, IRange range) Creates a picture from reference range to the specified range on the current sheet.IShapes.addCameraPicture
(String reference, String name, double left, double top) Creates a picture from reference range.Returns theIShape
object that represents the new picture.IShapes.addCameraPicture
(String reference, String name, double left, double top, double width, double height) Creates a picture from reference range.Returns theIShape
object that represents the new picture.IShapes.addCameraPicture
(String reference, String name, IRange range) Creates a picture from reference range to the specified range on the current sheet.Creates a chart at the specified location on the chart.Creates a chart at the specified location on the active sheet.Creates a chart at the specified range on the current sheet.IShapes.addChart
(String name, ChartType chartType, double left, double top, double width, double height) Creates a chart at the specified location on the active sheet.Creates a chart at the specified range on the current sheet.IChart.addChartInPixel
(ChartType chartType, double left, double top, double width, double height) Creates a chart at the specified location on the chart.IShapes.addChartInPixel
(ChartType chartType, double left, double top, double width, double height) Creates a chart at the specified location on the active sheet.IShapes.addChartInPixel
(String name, ChartType chartType, double left, double top, double width, double height) Creates a chart at the specified location on the active sheet.IChart.addConnector
(ConnectorType type, double beginX, double beginY, double endX, double endY) Creates a connector.IShapes.addConnector
(ConnectorType type, double beginX, double beginY, double endX, double endY) Creates a connector.IShapes.addConnector
(ConnectorType type, IRange range) Creates a connector at the specified range on the current sheet.IShapes.addConnector
(String name, ConnectorType type, double beginX, double beginY, double endX, double endY) Creates a connector.IShapes.addConnector
(String name, ConnectorType type, IRange range) Creates a connector at the specified range on the current sheet.IChart.addConnectorInPixel
(ConnectorType type, double beginX, double beginY, double endX, double endY) Creates a connector.IShapes.addConnectorInPixel
(ConnectorType type, float beginX, float beginY, float endX, float endY) Creates a connector.IShapes.addConnectorInPixel
(String name, ConnectorType type, float beginX, float beginY, float endX, float endY) Creates a connector.IChart.addPicture
(InputStream stream, ImageType type, double left, double top, double width, double height) Creates a picture from an existing stream.IChart.addPicture
(String filename, double left, double top, double width, double height) Creates a picture from an existing file.IShapes.addPicture
(InputStream stream, ImageType type, double left, double top, double width, double height) Creates a picture from an existing stream.IShapes.addPicture
(InputStream stream, ImageType type, IRange range) Creates a picture from an existing stream at the specified range on the current sheet.IShapes.addPicture
(String filename, double left, double top, double width, double height) Creates a picture from an existing file.IShapes.addPicture
(String filename, IRange range) Creates a picture from an existing file at the specified range on the current sheet.IShapes.addPicture
(String name, InputStream stream, ImageType type, double left, double top, double width, double height) Creates a picture from an existing stream.IShapes.addPicture
(String name, InputStream stream, ImageType type, IRange range) Creates a picture from an existing stream at the specified range on the current sheet.IShapes.addPicture
(String name, String filename, double left, double top, double width, double height) Creates a picture from an existing file.IShapes.addPicture
(String name, String filename, IRange range) Creates a picture from an existing file at the specified range on the current sheet.IChart.addPictureInPixel
(InputStream stream, ImageType type, double left, double top, double width, double height) Creates a picture from an existing stream.IChart.addPictureInPixel
(String filename, double left, double top, double width, double height) Creates a picture from an existing file.IShapes.addPictureInPixel
(InputStream stream, ImageType type, double left, double top, double width, double height) Creates a picture from an existing stream.IShapes.addPictureInPixel
(String filename, double left, double top, double width, double height) Creates a picture from an existing file.IShapes.addPictureInPixel
(String name, InputStream stream, ImageType type, double left, double top, double width, double height) Creates a picture from an existing stream.IShapes.addPictureInPixel
(String name, String filename, double left, double top, double width, double height) Creates a picture from an existing file.IChart.addShape
(AutoShapeType type, double left, double top, double width, double height) Returns theIShape
object that represents the new AutoShape in the chart.IShapes.addShape
(AutoShapeType type, double left, double top, double width, double height) Returns theIShape
object that represents the new AutoShape in aworksheet.IShapes.addShape
(AutoShapeType type, IRange range) Returns theIShape
object that represents the new AutoShapeat the specified range on the current sheet.IShapes.addShape
(String name, AutoShapeType type, double left, double top, double width, double height) Returns theIShape
object that represents the new AutoShape in aworksheet.IShapes.addShape
(String name, AutoShapeType type, IRange range) Returns theIShape
object that represents the new AutoShapeat the specified range on the current sheet.IChart.addShapeInPixel
(AutoShapeType type, double left, double top, double width, double height) Returns theIShape
object that represents the new AutoShape in the chart.IShapes.addShapeInPixel
(AutoShapeType type, double left, double top, double width, double height) Returns theIShape
object that represents the new AutoShape in aworksheet.IShapes.addShapeInPixel
(String name, AutoShapeType type, double left, double top, double width, double height) Returns theIShape
object that represents the new AutoShape in aworksheet.IShape.duplicate()
Duplicates the shape and returns a reference to the new copy.IGroupShapes.get
(int index) Returns a single object from a collection.Returns a single object from a collection.IShapeRange.get
(int index) Returns a single object from a collection.Returns a single object from a collection.IShapes.get
(int index) Returns a single object from a collection.Returns a single object from a collection.IConnectorFormat.getBeginConnectedShape()
Returns theIShape
object that represents the shape that thebeginning of the specified connector is attached to.IConnectorFormat.getEndConnectedShape()
Returns theIShape
object that represents the shape that the end ofthe specified connector is attached to.IChart.getParent()
Returns the parentIShape
of the chart.IShape.getParentGroup()
Returns theIShape
object that represents the common parent shape ofa child shape or a range of child shapes.IShapeRange.group()
Groups the shapes in the specified range.修饰符和类型方法说明void
IConnectorFormat.beginConnect
(IShape connectedShape, int connectionSite) Attaches the beginning of the specified connector to a specified shape.void
IConnectorFormat.endConnect
(IShape connectedShape, int connectionSite) Attaches the end of the specified connector to a specified shape.