event RemoveElement (Element as Element)
An element has been removed from the surface.

TypeDescription
Element as Element An Element object that specifies the element being removed from the Elements collection.
The RemoveElement event occurs once the element has been removed from the Elements collection. Use the RemoveElement event to release any extra data associated with the element.  Use the Remove method to remove a specific element from the Elements collection. Use the RemoveSelection method to remove the selected elements. Use the Clear method to remove all elements from the surface. Removing and element removes the incoming and outgoing links as well.

Syntax for RemoveElement event, /NET version, on:

private void RemoveElement(object sender,exontrol.EXSURFACELib.Element Element)
{
}

Private Sub RemoveElement(ByVal sender As System.Object,ByVal Element As exontrol.EXSURFACELib.Element) Handles RemoveElement
End Sub

Syntax for RemoveElement event, /COM version, on:

private void RemoveElement(object sender, AxEXSURFACELib._ISurfaceEvents_RemoveElementEvent e)
{
}

void OnRemoveElement(LPDISPATCH Element)
{
}

void __fastcall RemoveElement(TObject *Sender,Exsurfacelib_tlb::IElement *Element)
{
}

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

procedure RemoveElement(sender: System.Object; e: AxEXSURFACELib._ISurfaceEvents_RemoveElementEvent);
begin
end;

begin event RemoveElement(oleobject Element)
end event RemoveElement

Private Sub RemoveElement(ByVal sender As System.Object, ByVal e As AxEXSURFACELib._ISurfaceEvents_RemoveElementEvent) Handles RemoveElement
End Sub

Private Sub RemoveElement(ByVal Element As EXSURFACELibCtl.IElement)
End Sub

Private Sub RemoveElement(ByVal Element As Object)
End Sub

LPARAMETERS Element

PROCEDURE OnRemoveElement(oSurface,Element)
RETURN

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

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

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

Procedure OnComRemoveElement Variant llElement
	Forward Send OnComRemoveElement llElement
End_Procedure

METHOD OCX_RemoveElement(Element) CLASS MainDialog
RETURN NIL

void onEvent_RemoveElement(COM _Element)
{
}

function RemoveElement as v (Element as OLE::Exontrol.Surface.1::IElement)
end function

function nativeObject_RemoveElement(Element)
return