event AddElement (Element as Element)
A new element has been added to the surface.

TypeDescription
Element as Element An Element object being added to the Elements collection.
The AddElement event notifies your application once a new element has been added to the Elements collection. The Add method adds a new element to the Elements collection. The CreateElement event notifies your application when the user creates at runtime the element on the surface. You can use the AddElement event to change properties of the added element to default values or to associate any extra data to the added element.

The order of the events when the user creates the element at runtime is:

The AddElement event may be called during the LoadXML method.

Syntax for AddElement event, /NET version, on:

private void AddElement(object sender,exontrol.EXSWIMLANELib.Element Element)
{
}

Private Sub AddElement(ByVal sender As System.Object,ByVal Element As exontrol.EXSWIMLANELib.Element) Handles AddElement
End Sub

Syntax for AddElement event, /COM version, on:

private void AddElement(object sender, AxEXSWIMLANELib._ISwimLaneEvents_AddElementEvent e)
{
}

void OnAddElement(LPDISPATCH Element)
{
}

void __fastcall AddElement(TObject *Sender,Exswimlanelib_tlb::IElement *Element)
{
}

procedure AddElement(ASender: TObject; Element : IElement);
begin
end;

procedure AddElement(sender: System.Object; e: AxEXSWIMLANELib._ISwimLaneEvents_AddElementEvent);
begin
end;

begin event AddElement(oleobject Element)
end event AddElement

Private Sub AddElement(ByVal sender As System.Object, ByVal e As AxEXSWIMLANELib._ISwimLaneEvents_AddElementEvent) Handles AddElement
End Sub

Private Sub AddElement(ByVal Element As EXSWIMLANELibCtl.IElement)
End Sub

Private Sub AddElement(ByVal Element As Object)
End Sub

LPARAMETERS Element

PROCEDURE OnAddElement(oSwimLane,Element)
RETURN

Syntax for AddElement event, /COM version (others), on:

<SCRIPT EVENT="AddElement(Element)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function AddElement(Element)
End Function
</SCRIPT>

Procedure OnComAddElement Variant llElement
	Forward Send OnComAddElement llElement
End_Procedure

METHOD OCX_AddElement(Element) CLASS MainDialog
RETURN NIL

void onEvent_AddElement(COM _Element)
{
}

function AddElement as v (Element as OLE::Exontrol.SwimLane.1::IElement)
end function

function nativeObject_AddElement(Element)
return