IWxWorkspace.CreateDoubleBoxArrow

Syntax

CreateDoubleBoxArrow: IWxDoubleBoxArrow;

Description

The CreateDoubleBoxArrow method creates a two-headed arrow callout.

Example

Executing the example requires that repository contains a workspace with the WSP identifier.

Add links to the Andy, Drawing, Metabase system assemblies.

Sub Userproc;
Var
    mb: IMetabase;
    wsp: IWxWorkspace;
    DBArrow: IWxDoubleBoxArrow;
Begin
    // Get workspace
    mb := MetabaseClass.Active;
    wsp := mb.ItemById("WSP").Edit As IWxWorkspace;
    // Get shape
    DBArrow := wsp.CreateDoubleBoxArrow;
    DBArrow.ArrowHeightOffset := 3;
    DBArrow.ArrowWidthOffset := 25;
    DBArrow.BoxHeightOffset := 8;
    DBArrow.BoxWidthOffset := 20;
    DBArrow.PinPosition := New GxPointF.Create(1210);
    //Save changes
    (Wsp As IMetabaseObject).Save;
End Sub Userproc;

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

See also:

IWxWorkspace