Table of Contents

Delegate Text.PaintTo3DDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Handler for OnPaintTo3D.

public delegate bool Text.PaintTo3DDelegate(Text toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Text

the text being painted

paintTo3D IPaintTo3D

the paint interface to paint to

Returns

bool

true if the handler painted the text itself and the default painting is to be skipped, false to let the text paint itself as usual

Constructors

PaintTo3DDelegate(object, nint)

public PaintTo3DDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Text, IPaintTo3D, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(Text toPaint, IPaintTo3D paintTo3D, AsyncCallback callback, object @object)

Parameters

toPaint Text
paintTo3D IPaintTo3D
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(Text, IPaintTo3D)

public virtual bool Invoke(Text toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Text
paintTo3D IPaintTo3D

Returns

bool