IWxWorkspace.CreateDoubleArrow

Syntax

CreateDoubleArrow : IWxDoubleArrow;

Description

The CreateDoubleArrow method creates a two-headed arrow.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

DArrow : IWxDoubleArrow;

Begin

DArrow := ws.CreateDoubleArrow;

DArrow.FirstPoint := New GxPointF.Create(10,6);

DArrow.LastPoint := New GxPointF.Create(3,20);

DArrow.HeightOffset := 5;

DArrow.WidthOffset := 12;

End Sub UserProc;

After executing the example a two-headed arrow is created.

See also:

IWxWorkspace