CADability dotNET
Delegate definition for an FilterList event to allow pre-filtering of acceptance of IGeoObject objects.

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

Syntax

C#
public delegate void PreFilterDelegate(
	FilterList filterList,
	IGeoObject go,
	out bool accepted,
	out bool doInternalFiltering
)
Visual Basic
Public Delegate Sub PreFilterDelegate ( _
	filterList As FilterList, _
	go As IGeoObject, _
	<OutAttribute> ByRef accepted As Boolean, _
	<OutAttribute> ByRef doInternalFiltering As Boolean _
)
Visual C++
public delegate void PreFilterDelegate(
	FilterList^ filterList, 
	IGeoObject^ go, 
	[OutAttribute] bool% accepted, 
	[OutAttribute] bool% doInternalFiltering
)

Parameters

filterList
Type: CADability.Attribute..::..FilterList
Filterlist, which issues the event
go
Type: CADability.GeoObject..::..IGeoObject
the object to check
accepted
Type: System..::..Boolean%
Set true to accept, false to reject
doInternalFiltering
Type: System..::..Boolean%
Set true to continue with filters from the list

See Also