CADability dotNET
Adds or removes the provided type to or from the list of accepted types. The type must be derived from IGeoObject.

Namespace: CADability.Attribute
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public virtual void AcceptType(
	Type type,
	bool doAccept
)
Visual Basic
Public Overridable Sub AcceptType ( _
	type As Type, _
	doAccept As Boolean _
)
Visual C++
public:
virtual void AcceptType(
	Type^ type, 
	bool doAccept
)

Parameters

type
Type: System..::..Type
the type to add or remove
doAccept
Type: System..::..Boolean
true: accept this type, false: reject this type.

See Also