Table of Contents

Delegate Model.AddingGeoObject

Namespace
CADability
Assembly
CADability.dll

Delegate definition for the AddingGeoObjectEvent. Setting cancel to true prevents the object beeing added to the model.

public delegate void Model.AddingGeoObject(IGeoObject go, ref bool cancel)

Parameters

go IGeoObject

Object to be added

cancel bool

Parameter to prevent the adding of the object

Constructors

AddingGeoObject(object, nint)

public AddingGeoObject(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IGeoObject, ref bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IGeoObject go, ref bool cancel, AsyncCallback callback, object @object)

Parameters

go IGeoObject
cancel bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(ref bool, IAsyncResult)

public virtual void EndInvoke(ref bool cancel, IAsyncResult result)

Parameters

cancel bool
result IAsyncResult

Invoke(IGeoObject, ref bool)

public virtual void Invoke(IGeoObject go, ref bool cancel)

Parameters

go IGeoObject
cancel bool