Modifica

Condividi tramite


CanvasShapes.AddConnector Method

Definition

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.

Returns

Applies to