CanvasShapes.AddConnector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a connecting line between two shapes in a drawing canvas.
public:
Microsoft::Office::Interop::Word::Shape ^ AddConnector(Microsoft::Office::Core::MsoConnectorType Type, float BeginX, float BeginY, float EndX, float EndY);
public Microsoft.Office.Interop.Word.Shape AddConnector (Microsoft.Office.Core.MsoConnectorType Type, float BeginX, float BeginY, float EndX, float EndY);
abstract member AddConnector : Microsoft.Office.Core.MsoConnectorType * single * single * single * single -> Microsoft.Office.Interop.Word.Shape
Public Function AddConnector (Type As MsoConnectorType, BeginX As Single, BeginY As Single, EndX As Single, EndY As Single) As Shape
Parameters
- Type
- MsoConnectorType
The type of connector.
- BeginX
- Single
The horizontal position that marks the beginning of the connector.
- BeginY
- Single
The vertical position that marks the beginning of the connector.
- EndX
- Single
The horizontal position that marks the end of the connector.
- EndY
- Single
The vertical position that marks the end of the connector.