InsertConnector
Contents
[
Hide
]InsertConnector(int, ShapeType, float, float, float, float)
Creates a new connector shape and inserts it into the shape collection at the specified index, applying default template styling.
public IConnector InsertConnector(int index, ShapeType shapeType, float x, float y, float width,
float height)
Parameter | Type | Description |
---|---|---|
index | Int32 | The zero-based index at which to insert the connector shape. |
shapeType | ShapeType | The ShapeType of the connector shape to insert. |
x | Single | The x-coordinate of the connector’s frame, in points. |
y | Single | The y-coordinate of the connector’s frame, in points. |
width | Single | The width of the connector’s frame, in points. |
height | Single | The height of the connector’s frame, in points. |
Return Value
The newly created IConnector
.
See Also
- interface IConnector
- enum ShapeType
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
InsertConnector(int, ShapeType, float, float, float, float, bool)
Creates a new connector shape and inserts it into the shape collection at the specified index, optionally applying default template styling.
public IConnector InsertConnector(int index, ShapeType shapeType, float x, float y, float width,
float height, bool createFromTemplate)
Parameter | Type | Description |
---|---|---|
index | Int32 | The zero-based index at which to insert the connector shape. |
shapeType | ShapeType | The ShapeType of the connector shape to insert. |
x | Single | The x-coordinate of the connector’s frame, in points. |
y | Single | The y-coordinate of the connector’s frame, in points. |
width | Single | The width of the connector’s frame, in points. |
height | Single | The height of the connector’s frame, in points. |
createFromTemplate | Boolean | True to apply default template styling (non-empty name, simple style); false to create the connector with default property values. |
Return Value
The newly created IConnector
.
See Also
- interface IConnector
- enum ShapeType
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides